DBpedia-Live continuously generates zipped N-Triples files containing added/deleted triples upon its run.
This tool downloads those files and updates a local Virtuoso triple store.
DBpedia Live triple store update happens on different Named Graphs. We have the following enabled:
http://live.dbpedia.org
— contains real time extracted data from Wikipediahttp://static.dbpedia.org
— contains external datasets and data that cannot be extracted from Wikipedia but is useful to have.http://dbpedia.org/resource/classes#
— contains the up-to-date DBpedia ontologyhttp://dbpedia.org
— virtual graph group that contains all the aforementioned graphsTo create graph groups in your local Virtuoso, you can adapt and run this script.
To execute from source:
git clone https://github.com/dbpedia/dbpedia-live-mirror.git
mirror-live.ini
file.lastDownloadDate.dat.default
to lastDownloadDate.dat
, and adapt the date according to the dump filebin/
folder
sh bin/liveSync.sh
— applies existing triple patches and waits until new ones get published sh bin/liveSyncOnce.sh Onetime
— applies existing triple patches and exits.sh bin/ontologySync.sh
— keeps the DBpedia ontology up-to-datesh bin/ontologySync.sh Onetime
— updates the DBpedia ontology to the latest version and existsJar files are not distributed at the moment but will be made available on request.