KonradHoeffner / hdt

Library for the Header Dictionary Triples (HDT) compression file format for RDF data.
https://crates.io/crates/hdt
MIT License
19 stars 4 forks source link

add hdt2rdf command line application #21

Open KonradHoeffner opened 1 year ago

KonradHoeffner commented 1 year ago

Using Sophia, it should be quite easy to serialize the loaded HDT file into another format like RDF Turtle and NTriples, thus allowing a simple command line application like hdt2rdf in the C++ version.

KonradHoeffner commented 1 year ago

The C++ version of hdt2rdf looks like this with empty input:

ERROR: You must supply an input and output

$ hdt2rdf [options] <HDT input file> <RDF output file> 
    -h          This help
    -f  <format>    RDF Format of the output
    -V  Prints the HDT version number.
    -p  Prints a progress indicator.
    -v  Verbose output
KonradHoeffner commented 1 year ago

Moving this into "wontfix" for now as there isn't a clear reason for not just using the existing hdt-cpp and hdt-java tools. However this may be implemented later.