W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2009

Empty property elements and rdfms-empty-property-elements/test013 test case

From: Thierry Boileau <thboileau@gmail.com>
Date: Fri, 27 Mar 2009 10:44:24 +0100
Message-ID: <49CC9FF8.9090306@gmail.com>
To: www-rdf-comments@w3.org
Hello all,

I have one comment about the test case "test013" of the 
"rdfms-empty-property-elements".
According to the "Empty property elements" section of the RDF/ XML 
syntax [1], the "rdf:resource", when used in a property element, is a 
shortcut for an "object node which has no further predicate arcs".
However, I think this is in contradiction with the "RDFMS paragraphs 
229-234" [2].

As illustrated by the test013 test case, the node 
"http://random.ioctl.org/#foo" is used as object of the first predicate, 
then subject for another one.
That is to say:
<rdf:Description rdf:about="http://random.ioctl.org/#bar">
  <random:someProperty rdf:resource="http://random.ioctl.org/#foo" 
random:prop2="baz" />
</rdf:Description>

is expanded as follow (in NTriples notation):

<http://random.ioctl.org/#bar> <http://random.ioctl.org/#someProperty> 
<http://random.ioctl.org/#foo> .
<http://random.ioctl.org/#foo> <http://random.ioctl.org/#prop2> "baz" .


best regards,
Thierry Boileau

[1] 
http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-empty-property-elements
[2] 
http://lists.w3.org/Archives/Public/www-archive/2001Jun/att-0021/00-part#229
Received on Friday, 27 March 2009 09:45:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:34 GMT