This is a very in-depth resource that covers nearly every aspect of SPARQL (both 1.0 and 1.1). Includes example queries (over many datasets), links to endpoints (ARQ, OpenLink's Virtuoso, Redland's Rasqal), and expected results. NOTE: The number of competencies tagged to this resource represent only a small portion its total coverage – it was necessary to omit many of the more commonly tagged competencies to save space.
URL: http://www.cambridgesemantics.com/semantic-university/sparql-by-example
Keywords: SPARQL, Graph traversal, Negation, SPARQL endpoint, Projected expressions
Author: Feigenbaum, Lee
Publisher: W3C SPARQL Working Group
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P75M
Educational use: instruction
Educational audience: student
Interactivity type: mixed
- Differentiates between a Default Graph and a Named Graph, and formulates queries using the GRAPH clause.
- Understands the role of Property Paths and how they are formed by combining predicates with regular expression-like operators.
- Knows the SPARQL 1.1 Graph Store HTTP protocol for updating graphs on a web server (in "restful" style).
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Pulls data from a different SPARQL endpoints in one single query using the SERVICE directive.
- Uses MINUS to remove matches from a result based on the evaluation of two patterns.
- Uses NOT EXISTS to limit whether a given graph pattern exists in the data.
- Uses the lang() function to return the language tag of an RDF literal.
- Uses the langMatches() function to match a language tag against a language range.
Leave A Comment