Setting up Virtuoso
OpenLink Virtuoso triplestore is available on DockerHub.
#
Run itBe 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 IndexExample working on DBpedia and Bio2RDF:
Enable Virtuoso full text index following this documentation.
#
Clear Virtuoso triplestore#
RDF bulk loadThis 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 graphsSee the official documentation for dumping and loading graphs.
#
Dump one graphSee Virtuoso documentation to dump a specific graph as Turtle (.ttl
)
First create the
dump_one_graph
procedure according to the documentation.
See example to dump the Bio2RDF ClinicalTrials Graph from Virtuoso:
#
Dump all graphsSee Virtuoso documentation to dump all graphs as Nquads.
First create the
dump_nquads
procedure according to the documentation.
See example to dump a complete Virtuoso triplestore:
#
ConfigurationCORS can be enabled following this tutorial.