Setting up Virtuoso
OpenLink Virtuoso triplestore is available on DockerHub.
Run it#
Be careful when changing the DBA_PASSWORD for tenforce/virtuoso. This doesn't work every time, so you might need to use the default dba password.
Access at http://localhost:8890/ and SPARQL endpoint at http://localhost:8890/sparql.
Admin login:
dba/dba
Shared in
/data/virtuoso
Use the Search Index#
Example working on DBpedia and Bio2RDF:
Enable Virtuoso full text index following this documentation.
Clear Virtuoso triplestore#
RDF bulk load#
This command should work to load all .nq files in the workspace/virtuoso directory, but it seems to have issues:
This command is used by the CWL workflow, but fails when run manually:
For some reason the args are not passed to the script ๐ง
Dump graphs#
See the official documentation for dumping and loading graphs.
Dump one graph#
See Virtuoso documentation to dump a specific graph as Turtle (.ttl)
First create the
dump_one_graphprocedure according to the documentation.
See example to dump the Bio2RDF ClinicalTrials Graph from Virtuoso:
Dump all graphs#
See Virtuoso documentation to dump all graphs as Nquads.
First create the
dump_nquadsprocedure according to the documentation.
See example to dump a complete Virtuoso triplestore:
Configuration#
CORS can be enabled following this tutorial.