v1
latestOpenAPI 3.1.02026-07-24188215268.7 KBExecute SPARQL query via GET with the default graph
Execute a SPARQL query. The query will default to using the :current graph if the query contains no FROM clauses and no default graph URI parameters are specified, in which case it will return a 404 if the :current graph does not exist for the org.
SPARQL results are available in a variety of formats. By default, application/sparql-results+json will be returned. Set the Accept header to one of the following values in accordance with your preference and the type of the query (SELECT, CONSTRUCT, DESCRIBE, ASK):
- application/sparql-results+xml
- application/sparql-results+json
- application/rdf+json
- application/rdf+xml
- text/csv
- text/tab-separated-values
- text/turtle
New to SPARQL? Check out data.world's SPARQL tutorial.
Path parameters
Query parameters
Specify URI for named graph(s) to query, overriding any FROM clauses in the query. If the default-graph-uri parameter is omitted and there are no FROM clauses, the :current graph will be used. See Our Docs for more info.
Specify URI for named graph(s) to query, overriding any FROM NAMED clauses in the query. See Our Docs for more info.
Query token to use with cancel
Response
default response