Neo4j Store
This class is an implementation of the rdflib Store class that uses Neo4j as a backend. In this way it is possible to persist you RDF data directly in Neo4j, with the power of rdflib to process your data.
Constructor
Name |
Type |
Required |
Default |
Description |
config |
Neo4jStoreConfig |
True |
Neo4jStoreConfig object that contains all the useful information to initialize the store. |
|
driver |
Neo4jStoreConfig |
False |
None |
A pre-built Neo4j driver object to use to connect to the database. You cannot specify both a driver and credentials in the Neo4jStoreConfig. |
Functions
add
Adds a triple to the Neo4j store. It requires an opened store to work.
Arguments
Name |
Type |
Default |
Description |
triple |
Tuple |
N/A |
The triple to add. |
context |
N/A |
The context of the triple (default: None). Kept to respect the signature but currently not used. |
|
quoted |
bool |
N/A |
Flag indicating whether the triple is quoted (default: False). Kept to respect the signature but currently not used. |