dbpedia / dbpedia-live-mirror

Keeps a mirror of DBpedia live in sync
GNU General Public License v3.0
26 stars 8 forks source link

DBpedia Live Mirror

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.

Virtuoso (Enterprise or Open Source) Setup

DBpedia Live triple store update happens on different Named Graphs. We have the following enabled:

To create graph groups in your local Virtuoso, you can adapt and run this script.

Execution

To execute from source:

  1. Download the code from the repo
    git clone https://github.com/dbpedia/dbpedia-live-mirror.git
  2. Set up your Virtuoso instance and mirror-live.ini file.
  3. Download and load the latest dump
  4. Copy lastDownloadDate.dat.default to lastDownloadDate.dat, and adapt the date according to the dump file
  5. Run one of the scripts in the bin/ 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-date
    • sh bin/ontologySync.sh Onetime — updates the DBpedia ontology to the latest version and exists

Jar files are not distributed at the moment but will be made available on request.

Dependencies

Contact

DBpedia Developers mailing list