- From: Juergen Pfundt <juergen.pfundt@googlemail.com>
- Date: Mon, 6 Oct 2014 19:51:25 +0200
- To: public-rdf-comments@w3.org
- Message-Id: <5D706682-D154-49C7-A99A-7F14D082ACB2@gmail.com>
Hello RDF Working Group, my first mail had accidentally been sent via the wrong e-mail account, as I am using a family shared Mac Book. Sorry for the inconvenience! Kind regards Jürgen Pfundt > Von: Juergen Pfundt <juergen.pfundt@gmail.com> > Betreff: RDF 1.1 Turtle - W3C Recommendation 25 February 2014 --- Missing declaration of empty prefix in examples 24 and 26 ? > Datum: 6. Oktober 2014 19:16:53 MESZ > An: public-rdf-comments@w3.org > > > Hello RDF Working Group, > > it seems to me that example 24 and 26 both miss the declaration of the empty prefix. > > Example 23 declares the empty prefix as <http://example.org/stuff/1.0/> . > > EXAMPLE 23 > @prefix : <http://example.org/stuff/1.0/> . > (1 2.0 3E1) :p "w" . > > Example 24 explains how example 23 is to be unravelled. Example 24 declares the additional prefix rdf:, but the empty prefix for predicate :p is missing. > > EXAMPLE 24 > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > _:b0 rdf:first 1 ; > rdf:rest _:b1 . > _:b1 rdf:first 2.0 ; > rdf:rest _:b2 . > _:b2 rdf:first 3E1 ; > rdf:rest rdf:nil . > _:b0 :p "w" . > > > If I am not mistaken, example 24 should read: > > EXAMPLE 24 supplemented with empty prefix > @prefix : <http://example.org/stuff/1.0/> . > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > _:b0 rdf:first 1 ; > rdf:rest _:b1 . > _:b1 rdf:first 2.0 ; > rdf:rest _:b2 . > _:b2 rdf:first 3E1 ; > rdf:rest rdf:nil . > _:b0 :p "w" . > > > The same is true for example 26 which explains example 25. The empty prefix should be declared for predicates :p and :p2 and objects :q and :q2. > > EXAMPLE 26 supplemented with empty prefix > PREFIX : <http://example.org/stuff/1.0/> > @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . > _:b0 rdf:first 1 ; > rdf:rest _:b1 . > _:b1 rdf:first _:b2 . > _:b2 :p :q . > _:b1 rdf:rest _:b3 . > _:b3 rdf:first _:b4 . > _:b4 rdf:first 2 ; > rdf:rest rdf:nil . > _:b3 rdf:rest rdf:nil . > _:b0 :p2 :q2 . > > > Kind regards > Jürgen Pfundt >
Received on Monday, 6 October 2014 17:51:56 UTC