There is a newer version of the record available.

Published August 16, 2025 | Version 0.4.0-alpha.0
Software Open

hdt-rs: A Rust library for the Header Dictionary Triples binary RDF compression format

  • 1. Institute for Medical Informatics, Statistics and Epidemiology (IMISE), Leipzig, Germany
  • 2. Independent Researcher Belgium

Description

  • SPARQL support by @GregHanson in https://github.com/KonradHoeffner/hdt/pull/66 (experimental "sparql" feature, API may change)
  • HDT can now be written and can be converted from N-Triples by @GregHanson in https://github.com/KonradHoeffner/hdt/pull/60 and https://github.com/KonradHoeffner/hdt/pull/71
  • improved error handling in https://github.com/KonradHoeffner/hdt/pull/61
  • refactor HdtGraph into a trait implementation in https://github.com/KonradHoeffner/hdt/pull/78

Please give us feedback on the 0.4.0-alpha.0 (especially about SPARQL) because we want to release 0.4.0 soon.

[dependencies]
hdt = "0.4.0-alpha.0"

Note that SPARQL is not the primary focus of the HDT file format. We have neither extensively validated nor benchmarked nor optimized the SPARQL performance yet and even if that happens later it is still unsure how performant it will be. The command line application (CLI) for conversion and more is moved to 0.5.0.

Other changes include:

  • Additional public fields by @GregHanson in https://github.com/KonradHoeffner/hdt/pull/54 (though this may be scaled back as have less need for it now)
  • fix: dictionary needs to be able to save when there are no entries in the shared section by @GregHanson in https://github.com/KonradHoeffner/hdt/pull/58
  • increase minimum supported Rust version to 1.87
  • remove unnecessary 'langtag' and 'iref' dependencies

Full Changelog: https://github.com/KonradHoeffner/hdt/compare/0.3.0...0.4.0-alpha.0

Notes

If you use this software, please cite our article in the Journal of Open Source Software.

Files

KonradHoeffner/hdt-0.4.0-alpha.0.zip

Files (74.5 kB)

Name Size Download all
md5:c29edea506d73c90a19f8f4cafb5effc
74.5 kB Preview Download

Additional details

Related works