hdt

Compress and query RDF data using the HDT binary format

brewmacoslinux
Try with needOr install directly
Source

About

Header Dictionary Triples (HDT) is a compression format for RDF data

Commands

hdtrdf2hdthdtSearch

Examples

Convert an RDF file to HDT compressed format$ rdf2hdt input.rdf output.hdt
Search for triples matching a pattern in an HDT file$ hdtSearch output.hdt "?subject ?predicate ?object"
Query specific triples by subject in an HDT file$ hdtSearch output.hdt "<http://example.org/resource> ?p ?o"