W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2007

test suite: syntax errors in construct/result-reif.ttl

From: Jeen Broekstra <j.broekstra@tue.nl>
Date: Fri, 06 Jul 2007 16:05:20 +0200
Message-ID: <468E4C20.3000604@tue.nl>
To: dawg mailing list <public-rdf-dawg@w3.org>


DAWGers,

Arjohn and I came across a few syntax errors in the
construct/result-reif.ttl Turtle file.

Specifically, the construction:

  [ rdf:subject _:gff ;
    rdf:predicate rdf:type ;
    rdf:object foaf:Person ] .

is not valid Turtle (at least not according to the BNF at
http://www.dajobe.org/2004/01/turtle/), blank nodes can not
be denoted in this fashion. I have updated the file, it now reads:

  [] rdf:subject _:gff ;
     rdf:predicate rdf:type ;
     rdf:object foaf:Person .

Which is correct Turtle.

I am not sure if the above construction was ever allowed in Turtle or if
this is another case of N3-confusion. Just thought I'd point it out.

cheers,

Jeen
Received on Friday, 6 July 2007 13:51:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:36 GMT