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.

Keywords: Python, SPARQL, RDFa
Time required: P30M
Educational use: instruction
Educational audience: student
Interactivity type: expositive

  • Competencies