Execute SPARQL query via POST 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 Params
string
required
Body Params
string
defaultGraphUris
array of strings
defaultGraphUris
boolean
namedGraphUris
array of strings
namedGraphUris
string
required
string
Headers
string
enum
Defaults to application/rdf+json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here!