Python offers a very powerful and easy to use library to work with Linked Data: rdflib. RDFLib is a lightweight and functionally complete RDF library, allowing applications to access, create and manage RDF graphs. This talk presents a general overview of the main features provided by the rdflib package. Several code examples are discussed, along with a case study concerning the analysis of a (semantic) social graph. Begins with a non-trivial overview of Linked Data Principles and the RDF Data Model, before moving on to the programming examples.
Keywords: SQ-Lite, RDFLib, Python, SPARQL, DBPedia
Author: Maggio, Valerio
Date created: 2014-07-26 07:00:00.000
Time required: P50M
Educational use: professionalDevelopment
- Programatically infers triples using custom functions or methods.
- Uses RDF-library-specific convenience representations for common RDF vocabularies such as RDF, Dublin Core, and SKOS.
- Uses RDF-specific programming methods to iterate over components of RDF data.
- Uses RDF libraries to process various types of SPARQL query result.
- Uses RDF-specific programming methods to query RDF data and save the results for further processing.