Backends¶
RDF4J built-in stores¶
EntryStore supports the stores that are native to RDF4J (formerly Sesame), i.e., memory, native and LMDB store, but also SPARQL and HTTP repositories. The store is selected with entrystore.repository.store.type; if it is not set, a memory store is used.
| Type | Settings |
|---|---|
memory |
entrystore.repository.store.path (optional, persists the store to this file URL) |
native |
entrystore.repository.store.path (required, file URL), entrystore.repository.store.indexes (e.g. cspo,posc) |
lmdb |
entrystore.repository.store.path (required, file URL), entrystore.repository.store.indexes |
http |
entrystore.repository.store.url (URL of an RDF4J HTTP repository) |
sparql |
entrystore.repository.store.endpoint-query, entrystore.repository.store.endpoint-update |
For http and sparql, entrystore.repository.store.user and entrystore.repository.store.password can be set for authentication. See the Settings page and the configuration example for more information.
Repairing a corrupt native store¶
If a native store is corrupt, RDF4J can be told to skip corrupt data and repair its indexes by setting the following in entrystore.properties:
org.eclipse.rdf4j.sail.nativerdf.softFailOnCorruptDataAndRepairIndexes=true
A value passed as JVM system property (-D) takes precedence over the configuration. A warning is logged at startup while the setting is active; remove it again once the store has been repaired.
EntryStore 5.x
In 5.x the value from entrystore.properties overwrote a value passed with -D.
The following sections provide some pointers to documentation on how to get started with some well-known triple stores.
Ontotext OWLIM¶
OWLIM can be configured as repository in the RDF4J (formerly Sesame) Workbench and accessed as HTTP repository from EntryStore. See the Ontotext's tutorial on how to get OWLIM into the workbench.
OpenLink Virtuoso¶
Like OWLIM, it is easiest to connect to Virtuoso through a remote HTTP repository that is set up in the RDF4J (formerly Sesame) Workbench. See Virtuoso's tutorial "Sesame HTTP Repository Configuration and Usage" on accessing Virtuoso via the Sesame workbench.
AllegroGraph RDFStore¶
Untested. Can probably be used via HTTP or SPARQL repository.