Header Dictionary Triples (HDT) for SWI-Prolog
HDT files form a natural addition to SWI-Prolog's memory based RDF store to access large amounts of static background knowledge without enlarging the memory footprint.
This repository is organised as a SWI-Prolog pack. To install it, perform the steps below. Tested on Ubuntu Linux. Should work on most Unix-like machines. Installation on Windows requires more creativity.
- Clone this repository in your SWI-Prolog pack directory,
typically `~/lib/swipl/pack` and install it:
a. Clone this pack:
$ git clone https://github.com/JanWielemaker/hdt4swipl hdt
b. Install the prerequisite libraries. On Ubuntu:
sudo apt-get install libserd-dev libraptor-dev
c. Start SWI-Prolog and run
If all worked out, you can now use
?- use_module(library(hdt)). to
load the library. Please example the comments there to understand the
Usable, but still experimental.