W3C home > Mailing lists > Public > public-powderwg@w3.org > July 2008

Comment on POWDER WDR, 2008-06-30: usage of nodeId

From: Ivan Herman <ivan@w3.org>
Date: Thu, 03 Jul 2008 13:01:59 +0200
Message-ID: <486CB1A7.4090706@w3.org>
To: public-powderwg@w3.org
Comment on http://www.w3.org/TR/2008/WD-powder-dr-20080630/

This may be a bug in the GRDDL or simply in the document. The same error 
is present in almost all POWDER-S examples. I refer here to Example 2-3.

rdf:resource and rdf:about refer to RDF URI reference according to the 
RDF/XML syntax[1], whereas nodeID does not[2]. As a consequence, a node 
identified via nodeID as a blank node cannot be referred to by 
rdf:resource or rdf:about; instead, rdf:nodeID should be repeated.

In the case of the example, this means that

- in line 41: rdf:about="#iriset_1" should be replaced by 
rdf:nodeID="iriset_1"
- in line 42: rdf:resource="#descriptorset_1" should be replaced by 
rdf:nodeID="descriptorset_1"

As I said, the same error repeats itself in a number of other POWDER-S 
examples in the document.

Cheers

Ivan


[1] http://www.w3.org/TR/rdf-syntax-grammar
[2] http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-blank-nodes

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 3 July 2008 11:02:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:42:13 GMT