Converting x.trig to x.nt ot x.ttl

231 views Asked by At

I want to ask if there is any tool which can convert trig file to .nt or .ttl without losing any data.

1

There are 1 answers

1
Ora Lassila On

The crux of this is the qualification "without losing any data": Trig can represent complete RDF datasets, i.e., can contain "named graph" information, whereas N-Triples (.nt) and Turtle (.ttl) cannot. You could think of Trig as an extension of Turtle, so any Turtle file is legal Trig, but the converse is not true.