# Stardog SPARQL endpoints

**URL:** <https://community.stardog.com/t/stardog-sparql-endpoints/814>\
**Category:** Support\
**Created:** [February 16, 2018, 8:35am UTC](https://community.stardog.com/t/stardog-sparql-endpoints/814 "2018-02-16T08:35:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathib](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mathib/32/345_2.png) [@mathib](https://community.stardog.com/u/mathib)\
**Post date:** [February 16, 2018, 8:35am UTC](https://community.stardog.com/t/stardog-sparql-endpoints/814/1 "2018-02-16T08:35:26Z")

</div>

I noticed that several SPARQL endpoints are available for Stardog with different properties. I've found the following three and briefly tested them in Stardog 5.2.1:

- [http://localhost:5820/annex/myDB/sparql/query:](http://localhost:5820/annex/myDB/sparql/query:) both reading and updating (SPARQL INSERT/DELETE)
- [http://localhost:5820/myDB/query:](http://localhost:5820/myDB/query:) only reading
- [http://localhost:5820/myDB/update:](http://localhost:5820/myDB/update:) only updating

As I understood from post [Query and Update endpoint stardog 5](https://community.stardog.com/t/query-and-update-endpoint-stardog-5/530/), it seems that the second could be used for both reading and updating in Stardog 4. Is there some overview on the available SPARQL endpoints and what you can throw at it? Also interesting to hear if some things will be depreciated/changed in next versions

---

<div class="post-metadata">

**Author:** ![pavel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/pavel/32/18_2.png) [@pavel](https://community.stardog.com/u/pavel)\
**Post date:** [February 16, 2018, 8:47am UTC](https://community.stardog.com/t/stardog-sparql-endpoints/814/2 "2018-02-16T08:47:55Z")

</div>

The relevant section in the docs is this one: [Home | Stardog Documentation Latest](https://www.stardog.com/docs/#_stardog_resources)

The Annex endpoint is supposed to be used solely by the old Web interface (aka Webconsole), which is now deprecated (superseded by Stardog Studio) and won't be supported in the future. The endpoint is thus also deprecated.

The other two endpoints are public, documented, and will be supported in the future. The first accepts SPARQL read queries (SELECT/CONSTRUCT/ASK/PATH), the 2nd accepts SPARQL Update queries.

Cheers,  
Pavel

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [March 2, 2018, 8:48am UTC](https://community.stardog.com/t/stardog-sparql-endpoints/814/3 "2018-03-02T08:48:13Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
