rdfhdt / hdt-cpp

HDT C++ Library and Tools
115 stars 65 forks source link

Support bz2 compression for rdf input files to rdf2hdt CLI #232

Open donpellegrino opened 2 years ago

donpellegrino commented 2 years ago

It would be a useful convenience if the rdf2hdt command-line interface (CLI) accepted bzip2 compressed triple files as input and handled the streaming decompression automatically.

donpellegrino commented 2 years ago

See also https://github.com/drobilla/serd/issues/34

D063520 commented 2 years ago

Note: this functionality is available in the hdt-java repo

KonradHoeffner commented 1 year ago

I think the most elegant way to solve this for all compression formats at once would be to accept standard input. Then you could hook up whatever decompressor you want and pipe it into the rdf2hdt cli.