Re: N-Triple blank node syntax

Gavin found the issue in the archives - we missed fixing N-Triples and 
N-Quads. TriG is correct


     Andy

Report:
https://lists.w3.org/Archives/Public/public-rdf-comments/2012Jul/0006.html

RDF-WG Announcement of Fix:
https://lists.w3.org/Archives/Public/public-rdf-wg/2012Jul/0037.html


On 04/03/2022 19:03, Andy Seaborne wrote:
> The productions for PN_CHARS_U are different between Turtle and 
> N-Triples - this is visible in blank node labels.
> 
> What have N-Triples parser implemented?
> 
> 
> N-triples is supposed to be subset of Turtle - it appears that it is 
> N-triples that is wrong.
> 
> Turtle:
> 
> [164s]     PN_CHARS_U     ::=   PN_CHARS_BASE | '_'
> 
> N-Triples:
> 
> [158s] PN_CHARS_U        ::=  PN_CHARS_BASE | '_' | ':'
> 
> 
> Test cases: As Turtle these are illegal syntax.
> 
> ----
> _::A <http://example/p> <http://example/o> .
> ----
> 
> ----
> _:X:Y <http://example/p> <http://example/o> .
> ----
> 
> PR: https://github.com/w3c/rdf-tests/pull/77
> 
>      Andy
> 
> Kindly notified by
>    https://github.com/apache/jena/pull/1217

Received on Saturday, 5 March 2022 09:24:37 UTC