W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2004

Re: Difference Between rdf:about And rdf:ID?

From: Charles McCathieNevile <charles@w3.org>
Date: Sat, 14 Aug 2004 08:20:26 -0400 (EDT)
To: "Fink, Clayton R." <Clayton.Fink@jhuapl.edu>
Cc: "'www-rdf-interest@w3.org'" <www-rdf-interest@w3.org>
Message-ID: <Pine.LNX.4.55.0408140815430.16505@homer.w3.org>

On Wed, 11 Aug 2004, Fink, Clayton R. wrote:

>I am looking for a deffinitive explanation of the difference. It seems like
>about only takes filly qualified URIs and ID doesn't.

This is more or less right, although I would say that about can take a fully
qualified URI and ID can't...

ID establishes the fragment identifier (and can only appear once - like an ID
attribute for XML elements, so you can validate it...)

>My question is is
>what is the dfference between:
><somens:SomeClass rdf:about="http:///www.someont.org#AnInstance">
><somens:SomeClass rdf:ID="AnInstance">

Assuming that this document has a base of http://www.someont.org then these
two things are equivalent. But the first one can actually appear anywhere in
any document - I can write about things in your documents using rdf:about...


Received on Saturday, 14 August 2004 12:20:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:52 UTC