The author of this blog posts shares his work towards manipulating RDF graphs with Python to create an application that can handle Linked Datar esources in an Object-Oriented way, (i.e. using Python classes rather than tables, sets, or lists of triples). The author's solution ties together RDFLib’s SPARQLStore plugin and RDFAlchemy.
Keywords: RDFAlchemy, RDFLib, Python, DBPedia, Object-Oriented Programming (OOP)
Author: Berger, Olivier
Date created: 2014-05-14 04:00:00.000
Time required: P20M
Educational use: instruction
Educational audience: student
Interactivity type: expositive
- Programatically associates namespaces to prefixes for use in serializing RDF or when parsing SPARQL queries.
- Uses RDF programming libraries to extract RDF data from CSV files, databases, or web pages.
- Uses RDF programming libraries to persistently stores triples in memory, on disk, or to interact with triple stores.