CTurtle is a tool for parsing RDF 1.1 Turtle files and outputting the resulting triples in "N3P" format. "N3P" is a RDF serialization format used by the Eye reasoner.
cturtle [-b=base-uri] [-o=output-file] [-f=(nt|n3p|n3p-rdiv)] [input-files]
-b=baseUrithe base URI to use when resolving relative URIs.-o=output-filewhere the results are written, write to stdout when omitted.-f=nt(default) output triples in N-Triples format.-f=n3poutput triples in N3P format.-f=n3p-rdivoutput triples in N3P format, userdivto output decimals.input-filesthe Turtle input files to process, read from stdin when omitted.
- The parser only does basic validation of IRIs and literals, e.g.
<http://localhost:abc> :value "abc"^^xsd:integer.will pass as a valid triple.
The latest version of Eye (since EYE-Winter16) will automatically use CTurtle when using the --turtle option to specify Turtle input files.