Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | Access RDF HDT files |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 0.5.4 |
SHA1 sum: | 6ec58e4142562bfd4f3aebe9969299bc7740fb7b |
Author: | Jan Wielemaker <J.Wielemaker@vu.nl> |
Maintainer: | Jan Wielemaker <J.Wielemaker@vu.nl> |
Packager: | Jan Wielemaker <J.Wielemaker@vu.nl> |
Home page: | https://github.com/JanWielemaker/hdt |
Download URL: | https://github.com/JanWielemaker/hdt.git |
Requires: | prolog:c_cxx(_42736) |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.1 | fabaf449337b875be05ccbf82cb84bdd0b25be6d | 1 | https://github.com/JanWielemaker/hdt.git |
0.5 | 2e8c53ea2ae4961eeb33135d1d770d88064e7787 | 1 | https://github.com/JanWielemaker/hdt.git |
3c8100b020fa505825f96cd27f6456a873aa6d64 | 2 | https://github.com/JanWielemaker/hdt.git | |
4d3be6578ad7fa088577143027bc60cca1a545eb | 1 | https://github.com/JanWielemaker/hdt.git | |
69d13bfd2247aba9765b36b82de1731bf9324513 | 37 | https://github.com/JanWielemaker/hdt.git | |
9f0dfceb1cdc4e4c44345574447cb87f37855af4 | 2 | https://github.com/JanWielemaker/hdt.git | |
e0a0eff87fc3318434cb493690c570e1255ed30e | 25 | https://github.com/JanWielemaker/hdt.git | |
0.5.1 | 54aa746b75d04640758c7e62472e6b335a4a8926 | 1 | https://github.com/JanWielemaker/hdt.git |
0.5.3 | 056c1214412047c105cb0b060f21821bad9f3bfb | 3 | https://github.com/JanWielemaker/hdt.git |
0.5.4 | 6ec58e4142562bfd4f3aebe9969299bc7740fb7b | 4 | https://github.com/JanWielemaker/hdt.git |
This repository is work in progress to provide access to HDT files from SWI-Prolog based on the C++ library for these files.
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. Installation and usage is tested on Ubuntu and Fedora. This should work on most Unix-like machines. Installation on Windows requires more creativity though.
In addition to the usual development tools such as make
and a C compiler,
we need GNU automake and related tools and the RDF base libraries serd
and raptor2
. Below are the dependencies for apt
based Linux systems
and rpm
based systems.
For Debian/Ubuntu based systems:
apt-get install libtool automake autoconf libserd-dev libraptor2-dev
For Fedora
dnf install aclocal automake libtool serd-devel raptor2-devel
The minimum version of Serd is 0.28.0 (see hdt-cpp/README.md
), which
can be checked by the command serdi -v
(requires installing the
serdi
package). This package has been tested with Serd 0.30.16.
?- pack_install(hdt).
If the installation went well, you can load the HDT library with the following command:
?- [library(hdt)].
The HDT format is attractive for accessing large amounts of background RDF data. HDT is the basis for several companies that provide RDF technology at scale. Unfortunately the public version of the software is poorly maintained.
This pack is based on our fork of the hdt-cpp. The fork is mostly the work of Peter Ludemann, fixing several issues with modern C++ and libraries.
See also RDF basics wiki.
The hdt-cpp
directory has a number of utilities in
hdt-cpp/libhdt/tools
. For details, see hdt-cpp/README.md
:
Pack contains 19 files holding a total of 61.4K bytes.