Hi,

I have some large TriX files that I want to convert to N-Quads from
command line (and later on to RDF HDT).

The files validate against the TriX XML schema, so I assume they're good.
I couldn't find a standalone trix script in the /bin folder, so I tried

     riot --syntax=TriX KORT10.1.xml

and I got:

13:25:02 ERROR riot                 :: [line: 15, col: 99] {E202}
Expecting XML start or end element(s). String data
"https://localhost:4443/atomgraph/city-graph/graphs/616337ee-f0f9-455f-a838-037fa875dbdd";
not allowed. Maybe there should be an rdf:parseType='Literal' for
embedding mixed XML content in RDF. Maybe a striping error.
13:25:02 ERROR riot                 :: [line: 16, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 21, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 26, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 31, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 36, col: 15] {E201}
Multiple children of property element
13:25:02 WARN  riot                 :: [line: 39, col: 77] {W102}
unqualified use of rdf:datatype is deprecated.
13:25:02 ERROR riot                 :: [line: 41, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 46, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 51, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 56, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 61, col: 15] {E201}
Multiple children of property element
13:25:02 ERROR riot                 :: [line: 66, col: 15] {E201}
Multiple children of property element
13:25:02 WARN  riot                 :: [line: 69, col: 77] {W102}
unqualified use of rdf:datatype is deprecated.

which looks like riot is trying to parse the file as RDF/XML instead.

Is TriX not supported on command line?


Martynas

Reply via email to