RDF Test Cases Bug: The N-Triples Grammar is Ambiguous

According to the N-Triples grammar [1], the following is a valid
instance of the line production in an N-Triples document:

<p:> <> <q:> <> <r:> <> "s" .

But which part of the line matches the subject production, and which
part matches the predicate production? As far as I can tell, the
N-Triples specification does provide a means of interpretation. This
is a very major bug, if so; it means that N-Triples does not have a
usable grammar.

Cf. http://chatlogs.planetrdf.com/swig/2007-11-01.html#T09-28-40

Thanks,

[1] http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntrip_grammar
- RDF Test Cases, 3.1. Extended Backus-Naur Form (EBNF) Grammar

-- 
Sean B. Palmer, http://inamidst.com/sbp/

Received on Thursday, 1 November 2007 10:35:17 UTC