On 31/03/15 10:06, Michael Brunnbauer wrote:

hi all,

tdbloader2 will not accept IRIs with CR or LF like this one from the Wikidata
RDF dump:

  <http://freital.de/index.phtml?La=1&object=tx|530.4535.1&NavID=530.81&sub=0\n>

But it will happily accept IRIs with |{}\\^`"

I guess there is no chance that the Semantic Web community agrees on how a
valid ntriples/nquads file looks like?

\ is the escape character.

The spec says
[8]     IRIREF  ::=     '<' ([^#x00-#x20<>"{}|^`\] | UCHAR)* '>'

so no \n escapes, just \u and \U

The RFC 3896 does not allow newlines.

Maybe they mean \\n or %0A.

I'm afraid that it's not a toolkit issue.

Could you feed it back to wikidata?

        Andy


Reply via email to