Sparrow is a library that provides a high-level API for RDF Databases. Any database the provides support for SPARQL Queries and has a triplestore that can handle contexts can be used as a backend.
The goal of Sparrow is to make sure all these different backends act the same, making it possible to change RDF Database backends without having to change your code.
At the moment there is support for the following backends:
The API provides support for the following basic functions:
- Parsing RDF statements from different formats into a contextual database
- Serializing the RDF statements from a specific context of a database
- Removing statements from a specific context of a database
- Performing SPARQL Queries
Sparrow does not provide a Graph API, but it can parse and serialize python dictionary objects. This uses the same format as the JSON serialization. Each TripleStore backend provides the following formats:
- Python dictionaries
Sparrow comes with buildout profiles for several databases. These profiles will install and setup the different backends for you.
Sparrow is also available on the Python Package Index:
|2009 7 20 15:55:51
|2009 7 20 15:47:20
|2009 7 14 18:31:21
|2009 7 13 16:26:13
License: New BSD