This module looks in great detail at SPARQL and introduces approaches for querying and updating semantic data. It covers the SPARQL algebra, the SPARQL 1.1 protocol, and provides examples for reasoning over Linked Data. The module uses examples from the music domain, which can be directly tried out and ran over the MusicBrainz dataset. This includes gaining familiarity with the RDFS and OWL languages, which allow developers to formulate generic and conceptual knowledge that can be exploited by automatic reasoning services in order to enhance the power of querying.
URL: http://www.euclid-project.eu/modules/chapter2.html
Keywords: Inferencing, SPARQL, RDF Schema, Web Ontology Language (OWL), Semantic Web, Entailment
Author: Norton, Barry
Publisher: EUCLID Project
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P3H
Educational use: professionalDevelopment
Educational audience: professional
Interactivity type: expositive
- 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.
- Demonstrates a working knowledge of the forms and uses of SPARQL result sets (SELECT, CONSTRUCT, DESCRIBE, and ASK).
- Querying RDF data
- Interacting with RDF data
- 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 how to combine and filter graph patterns using operators such as UNION, OPTIONAL, FILTER, and MINUS.
- Querying RDF data
- Interacting with RDF data
- 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 that a SPARQL query matches an RDF graph against a pattern of triples with fixed and variable values.
- Querying RDF data
- Interacting with RDF data
- Knows that Web Ontology Language (OWL) is available in multiple "flavors" that are variously optimized for expressivity, performant reasoning, or for applications involving databases or business rules
- Interacting with RDF data
- Reasoning over RDF data
- Knows that Web Ontology Language (OWL) is available in multiple "flavors" that are variously optimized for expressivity, performant reasoning, or for applications involving databases or business rules
- Knows that Web Ontology Language (OWL) is available in multiple "flavors" that are variously optimized for expressivity, performant reasoning, or for applications involving databases or business rules
- Reasoning over RDF data
- Interacting with RDF data
- Understands the principles and practice of inferencing.
- Interacting with RDF data
- Reasoning over RDF data
- Understands the principles and practice of inferencing.
- Uses common entailment regimes and understands their uses.
- Understands the principles and practice of inferencing.
- Reasoning over RDF data
- Interacting with RDF data
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Interacting with RDF data
- Manipulating RDF data
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Uses INSERT/DELETE to update triples.
- Uses a CONSTRUCT query to preview changes before executing an INSERT/DELETE operation.
- Knows the SPARQL 1.1 Update language for updating, creating, and removing RDF graphs in a Graph Store
- Manipulating RDF data
- Interacting with RDF data
- Understands the difference between SQL query language (which operates on database tables) and SPARQL (which operates on RDF graphs).
- Interacting with RDF data
- Manipulating RDF data
- Understands the difference between SQL query language (which operates on database tables) and SPARQL (which operates on RDF graphs).
- Understands the difference between SQL query language (which operates on database tables) and SPARQL (which operates on RDF graphs).
- Manipulating RDF data
- Interacting with RDF data
- Uses common entailment regimes and understands their uses.
- Interacting with RDF data
- Reasoning over RDF data
- Understands the principles and practice of inferencing.
- Uses common entailment regimes and understands their uses.
- Uses common entailment regimes and understands their uses.
- Understands the principles and practice of inferencing.
- Reasoning over RDF data
- Interacting with RDF data