Query Forms

The topics in this section define the four standard SPARQL query forms and provides syntax and example queries for each form:

  • SELECT: Run SELECT queries when you want to find and return all of the data that matches certain patterns.
  • CONSTRUCT: Run CONSTRUCT queries when you want to create or transform data based on the existing data.
  • ASK: Run ASK queries when you want to know whether a certain pattern exists in the data. ASK queries return only "true" or "false" to indicate whether a solution exists.
  • DESCRIBE: Run DESCRIBE queries when you want to view the RDF graph that describes a particular resource.