- From: Juergen Pfundt <juergen.pfundt@googlemail.com>
- Date: Mon, 6 Oct 2014 19:26:33 +0200
- To: public-rdf-comments@w3.org
- Message-Id: <CF07F3EB-24B9-45F8-8B1F-535EC4A45645@gmail.com>
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:27:04 UTC