Re: Standard way to qualify occurrences of resources as objects?

> The correct way to do this is:
>    <x:foo>
>       <rdf:Description>
>          <rdf:value rdf:resource="urn:abc:xyz"/>
>          <x:bar>jkl</x:bar>
>       </rdf:Description>
>    </x:foo>

Actually, I think that Patrick was asking how the following is represented
in XML RDF:-

   [ rdf:resource <urn:abc:xyz>; x:bar "jkl" ] .

According to the RDF BNF production [1], propName is just a QName: it does
not exclude any of the syntactic elements of RDF, and therefore the
following *is* legal RDF, and if the RDF validator produces an error, then
it is incorrect:-

       <rdf:resource rdf:resource="urn:abc:xyz"/>

However, I'm not sure why anyone would want to refer to the URI reference:-

in the RDF model anyway, because it is a part of the syntax and not the
model. Patrick being the king of QName doom is probably pointing out that
RDF confuses syntactic and semantic QNames by kludging them into one
namespace, and indeed people (DanC?) have expressed that the two should be


- "2.2.1. Basic Serialization Syntax", RDF M&S Recommendation

Kindest Regards,
Sean B. Palmer
@prefix : <> .
:Sean :hasHomepage <> .

Received on Sunday, 23 September 2001 15:05:03 UTC