This documentation covers how to use the Python programming languages's RDFLib implementation of the SPARQL 1.1 Query and SPARQL 1.1 Update languages.
Keywords: Python, SPARQL
Time required: P10M
- Programatically associates namespaces to prefixes for use in serializing RDF or when parsing SPARQL queries.
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Understands how the pattern matching of SPARQL queries can be expressed using functionally equivalent constructs in RDF programming libraries.
- Uses utilities and convenience functions the provide shortcuts for frequently used patterns, such as matching the multiple label properties used in real data.