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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

thboileau
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