This documentation includes examples on the following subjects: 1) creating named graphs and working with the conjunction of all the graphs; 2) registering new mappings between literal datatypes and Python objects; 3) adding custom evaluation functions to handle certain SPARQL Algebra elements; 4) overloading Python operators on URIRefs to allow for creating path operators directly in Python; 5) binding variables,; 6) processing RDFa data from the Web. These examples all live in ./examples in the source-distribution of RDFLib.

URL: http://rdflib.readthedocs.org/en/stable/apidocs/examples.html
Keywords: Python, SPARQL, RDFa
Language: http://id.loc.gov/vocabulary/iso639-2/eng
Time required: P30M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

  • Competencies