Although VIVO is configured to use SDB backed with an RDMS as the default triple store, VIVO comes with configuration examples for the following other triple stores as well:
This documentation details how to configure Apache Jena's Fuseki 2 triple store, such that VIVO uses it as a remote triple store.
The installation of Fuseki described here uses the standalone, executable JAR file. This is perfect for easily getting an environment up and running; however, for production, Fuseki's WAR file installation is likely more suitable.
The following files/directories should be found in FUSEKI_BASE
. ├── bin ├── fuseki ├── fuseki-backup ├── fuseki-server ├── fuseki-server.bat ├── fuseki-server.jar ├── fuseki.service ├── fuseki.war ├── LICENSE ├── NOTICE ├── README └── webapp |
Start fuseki:
$ java -jar fuseki-server.jar |
vivo'Update "vivo.ttl" to use a union graph so that queries to fuseki do not need to specify named graphs
** Change **
:tdb_dataset_readwrite
a tdb:DatasetTDB ;
tdb:location "/path/to/FUSEKI_BASE/run/databases/vivo" .
** To **
:tdb_dataset_readwrite
a tdb:DatasetTDB ;
tdb:location "/path/to/FUSEKI_BASE/run/databases/vivo" ;
tdb:unionDefaultGraph true . |
These instructions detail how to configure VIVO to use the above, remote Fuseki triple store as an alternative to VIVO's default triple store configuration.
Uncomment and update the ":sparqlContentTripleSource"
:sparqlContentTripleSource
a vitroWebapp:triplesource.impl.sparql.ContentTripleSourceSPARQL ,
vitroWebapp:modules.tripleSource.ContentTripleSource ;
# The URI of the SPARQL endpoint for your triple-store.
:hasEndpointURI "http://localhost:3030/vivo/query" ;
# The URI to use for SPARQL UPDATE calls against your triple-store.
:hasUpdateEndpointURI "http://localhost:3030/vivo/update" . |
Change the ":application" section to reference the ":sparqlContentTripleSource"
:application
...
:hasContentTripleSource :sparqlContentTripleSource ;
... |
Restart VIVO... connected to Fuseki!