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:
|Release version||Release date||Release files|
|Sparrow 1.0b4||Jul 20, 2009 3:55:51 PM||
|Sparrow 1.0b3||Jul 20, 2009 3:47:20 PM||
|Sparrow 1.0b2||Jul 14, 2009 6:31:21 PM||
|Sparrow 1.0b1||Jul 13, 2009 4:26:13 PM||
License: New BSD