Create git commits out of Virtuoso SPARQL RDF Dumps.
virtuoso2git infolder outfolder prefix
- install Python 3
pip install rdflib
- Create stored procedures
dump_one_graph
anddump_graphs
from http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFDatasetDump#Dump%20One%20Graph (just once) - Use
dump_one_graph
on all the graphs in https://www.mysparqlendpoint.org/conductor -> Database -> Interactive SQL, where YYYYMMDD is the date, for example 20210519 with meta:dump_one_graph ('http://www.snik.eu/ontology/meta', './dumps/YYYYMMDDmeta', 1000000000);
- Download the dumps from the server via
scp -r user@server:/my/path/_data/dumps .
- virtuoso2git /myfolder/dumps .
date '+%Y%m%d'