W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > October 2001

Re: rdfms-difference-between-ID-and-about (was: Issues list update/status?)

From: Art Barstow <barstow@w3.org>
Date: Tue, 2 Oct 2001 09:19:00 -0400
To: Aaron Swartz <aswartz@upclink.com>
Cc: RDF Core <w3c-rdfcore-wg@w3.org>
Message-ID: <20011002091900.A17761@w3.org>
The http://www.w3.org/2000/03/rdf-tracking/#rdfms-difference-between-ID-and-about

issue says:

[[
  what is the difference between writing <Description ID="bar"> and 
  <Description about="#bar"> ? Why is ID needed?
]]

I recall the WG deciding that the subjects of the triples generated 
from these two Descriptions should be identical.  However, it appears
to me that neither test1.rdf or test2.rdf in [1] reflects that decision:

 [1] http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/

It seems like test1.rdf should be something like:

 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:ID="foo">
   <rdf:value>abc</rdf:value>
  </rdf:Description>
  <rdf:Description rdf:about="#foo">
   <rdf:value>abc</rdf:value>
  </rdf:Description>
 </rdf:RDF>

and test1.nt should be:

 <http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "abc" .
 <http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf#foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "abc" .

I agree with DanC that the wording of the Resolution in [1] which is:

[[
 Usage of an rdf:ID attribute to identify the subject of a description, 
 is equivalent to usage of an rdf:about attribute with the the '#' 
 character followed by the URI-encoded form of the content rdf:ID attribute.  
]]

could use a little work - perhaps citing the example from test2.rdf
would help clarify the last part of the sentence.

I also don't see how and error1.rdf directly relates to this specific 
issue.

Art
---

On Fri, Sep 28, 2001 at 04:08:14PM -0500, Aaron Swartz wrote:
> On Thursday, September 27, 2001, at 10:49  AM, Dan Connolly wrote:
> 
> >      rdfms-difference-between-ID-and-about: What is the difference
> >      between using an rdf:ID attribute to 'create' a new 
> > resource and an
> >      rdf:about attribute to refer to it? (Aaron Swartz)
> >
> > This is done, right? There's a test case in the testing WD;
> > it was marked "unapproved" but we approved it recently,
> > no? Hmm... maybe that was something else we approved.
> 
> Yes, we've never approved this test case (although we've come 
> perilously close).
> 
> Throughout the work on the drafts I've had this in the back of 
> my head... I guess it's time to bring it back to the fore.
> 
> Can I have one or two people to review the test case and 
> proposed resolution text?
> 
> http://www.w3.org/2000/10/rdf-
> tests/rdfcore/rdfms-difference-between-ID-and-about/
> 
> > Also, I would quibble with the "URI-encoded form of" language.
> 
> Do you have a patch?
> 
> > The test cases address this issue to my satisfaction,
> > but perhaps this issue should stay open until the syntax
> > spec has a formal description of how to convert RDF/xml
> > syntax to n-triples.
> 
> I sorta thought that's what this was supposed to decide...
> 
> Do folks want to get this completed?
> 
> --
>        "Aaron Swartz"      |              The Semantic Web
>   <mailto:me@aaronsw.com>  |  <http://logicerror.com/semanticWeb-long>
> <http://www.aaronsw.com/> |        i'm working to make it happen
Received on Tuesday, 2 October 2001 09:19:01 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:40:56 EDT