dig-team / amie

Mavenized AMIE+Typing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converting to TSV

davidshumway opened this issue · comments

Is there a commonly used library to convert an RDF graph in various formats (RDF, ttl, n3, etc.) to TSV?

Hi,

I just googled a bit and unfortunately there does not seem to be a perfect solution (https://stackoverflow.com/questions/56752418/convert-huge-linked-data-dumps-rdf-xml-json-ld-ttl-to-tsv-csv). I usually do it by myself.

Cheers,
Luis

A quick update. Jena has the riot binary that supports this functionality.

For example:

$ ./bin/riot --output=NTRIPLES file.rdf > output
$ sed 's/ /\t/g' output > output.tsv