HDT-lib is a Java Library that implements the W3C Submission (http://www.w3.org/Submission/2011/03/) of the RDF HDT (Header-Dictionary-Triples) binary format for publishing and exchanging RDF data at large scale. Its compact representation allows storing RDF in fewer space, providing at the same time direct access to the stored information. This is achieved by depicting the RDF graph in terms of three main components: Header, Dictionary and Triples. The Header includes extensible metadata required to describe the RDF data set and details of its internals. The Dictionary organizes the vocabulary of strings present in the RDF graph by assigning numerical IDs to each different string. The Triples component comprises the internal structure of the RDF graph in a compressed form.
It provides several components:
Use mvn install to let Apache Maven install the required jars in your system.
You can also run mvn assembly:single under hdt-java-package to generate a distribution directory with all the jars and launcher scripts.
Please refer to hdt-java-package/README for more information on how to use the library. You can also find useful information on our Web Page http://www.rdfhdt.org
Each module has a different License. Core is LGPL, examples and tools are Apache.
hdt-api: Apache Licensehdt-java-cli: (Commandline tools and examples): Apache Licensehdt-java-core: Lesser General Public Licensehdt-jena: Lesser General Public Licensehdt-fuseki(< 2.2.0): Apache LicenseNote that hdt-fuseki has been removed in version 2.2.0 and might be readded later when made compatible with fuseki2.
RDF/HDT is a project developed by the Insight Centre for Data Analytics (www.insight-centre.org), University of Valladolid (www.uva.es), University of Chile (www.uchile.cl). Funded by Science Foundation Ireland: Grant No. SFI/08/CE/I1380, Lion-II; the Spanish Ministry of Economy and Competitiveness (TIN2009-14009-C02-02); Chilean Fondecyt's 1110287 and 1-110066; and the European Union's Horizon 2020 research and innovation program under the Marie Sklodowska-Curie grant agreement No 642795.