A simple but comprehensive slide presentation covering the basics of what SPARQL is and how it is used. NOTE: This resource was created before SPARQL 1.1, so it only covers SPARQL as a query language (not as an Update language or Graph Store HTTP Protocol).

URL: http://www.slideshare.net/fabien_gandon/sparql-in-a-nutshell?related=4
Keywords: SPARQL endpoint, SPARQL, Negation
Author: Gandon, Fabien
Date created: 2007-12-31 07:00:00.000
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P20M
Educational use: instruction
Educational audience: generalPublic
Interactivity type: expositive

  • Competencies
    • Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
      • Interacting with RDF data
        • Querying RDF data
          • Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
            • Uses the SELECT clause to identify the variables to appear in a table of query results.
            • Uses the WHERE clause to provide the graph pattern to match against the graph data.
            • Uses variables in SELECT and WHERE clauses to yield a table of results.
            • Uses ASK for a True/False result test for a match to a query pattern.
            • Uses DESCRIBE to extract a single graph containing RDF data about resources.
            • Uses CONSTRUCT to extract and transform results into a single RDF graph specified by a graph template.
            • Uses FROM to formulate queries with URLs and local files.
    • Understands how to combine and filter graph patterns using operators such as UNION, OPTIONAL, FILTER, and MINUS.
      • Interacting with RDF data
        • Querying RDF data
          • Understands how to combine and filter graph patterns using operators such as UNION, OPTIONAL, FILTER, and MINUS.
            • Uses UNION to formulate queries with multiple possible graph patterns.
            • Uses OPTIONAL to formulate queries to return the values of optional variables when available.
            • Uses FILTER to formulates queries that eliminate solutions from a result set.
            • Uses NOT EXISTS to limit whether a given graph pattern exists in the data.
            • Uses MINUS to remove matches from a result based on the evaluation of two patterns.
            • Uses NOT IN to restrict a variable to not being in a given set of values.
    • Understands that a SPARQL query matches an RDF graph against a pattern of triples with fixed and variable values.
      • Interacting with RDF data
        • Querying RDF data
          • Understands that a SPARQL query matches an RDF graph against a pattern of triples with fixed and variable values.
      • Understands the major SPARQL result set modifiers, e.g., to limit or sort results, or to return distinct results only once.
        • Interacting with RDF data
          • Querying RDF data
            • Understands the major SPARQL result set modifiers, e.g., to limit or sort results, or to return distinct results only once.
              • Uses ORDER BY to define ordering conditions by variable, function call, or expression.
              • Uses DISTINCT to ensure solutions in the sequence are unique.
              • Uses OFFSET to control where the solutions processed start in the overall sequence of solutions.
              • Uses LIMIT to restrict the number of solutions processed for query results.
              • Uses projection to transform a solution sequence into one involving only a subset of the variables.
      • Uses PREFIX for base URIs.
        • Interacting with RDF data
          • Querying RDF data
            • Understands the basic syntax of a SPARQL query.
              • Uses PREFIX for base URIs.