rdf-store-sparql
v3.0.0
Published
SPARQL RDF Store that follows the RDF/JS Store interface specification
Downloads
80
Readme
rdf-store-sparql
SPARQL RDF Store that follows the RDF/JS Store interface specification. This store implementation allows accessing graphs using the SPARQL 1.1 Protocol. This requires an external triple store.
Install
npm install --save rdf-store-sparql
Usage
The constructor requires a endpointUrl
parameter.
It must be a string pointing to the SPARQL endpoint.
Optional an options
parameter can be given.
The options
object can have the following properties:
updateUrl
: SPARQL endpoint URL for write operations. (DefaultendpointUrl
parameter)factory
: RDFJS data factory implementation. (Default the reference implementation@rdfjs/data-model
)maxQueryLength
: Max length of theimport
andremoveMatches
query. Multiple queries in sequence will be used if whenmaxQueryLength
is reached. (DefaultInfinity
)