W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > January 2002

Re: ISSUE http://www.w3.org/2000/03/rdf-tracking/#rdfms-nested-bagIDs

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Thu, 17 Jan 2002 14:02:15 +0000
Message-Id: <5.1.0.14.0.20020117140146.0328ce10@0-mail-1.hpl.hp.com>
To: Dave Beckett <dave.beckett@bristol.ac.uk>, w3c-rdfcore-wg@w3.org
Please can we have volunteers to review these test cases so we can close 
this issue off at this weeks telecon.

Brian


At 15:49 15/01/2002 +0000, Dave Beckett wrote:
>Raised by Pierre-Antoine CHAMPIN in
>   http://lists.w3.org/Archives/Public/www-rdf-comments/2001JanMar/0024.html
>
>Summary:
>    The Model and Syntax specification does not clearly specify which
>    reified statements are put in which bag when nested description
>    elements have bagID's.
>
>
>I propose we close this by resolving:
>
>   Nested rdf:Description elements with rdf:bagIDs generate the same
>   triples as top-level rdf:Description elements with rdf:bagIDs.
>   Specifically, triples generated as a result of nested
>   rdf:Description elements do not get included in bags associated
>   with outer rdf:Description elements.
>
>(sort of based on the resolution attached to Jeremy's mail
>   http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2001Oct/0346.html
>
>  -- I hope I got this right
>)
>
>
>With respect to Pierre-Antoine's question
>   What model should the following RDF piece return ?
>
>The first attachment test001.rdf contains an updated and completed
>version of his example.  (Iadded the rdf:RDF, updated the attributes
>to be rdf:*, and made absolute URIs)
>
>By this resolution it is equivalent to the attached test002.rdf, with
>the inner rdf:Description moved to the outer level.
>
>And both generate the same N-Triples
>
>However, since IDs/bagIDs are being used, the URLs generated are
>relative to the location of the RDF/XML files so there are two result
>N-Triples files. The final test case files will be below
>http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/ so
>they are calculated relative to that
>
>Dave
>
>
><?xml version="1.0"?>
><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:some="http://example.org/">
>   <rdf:Description rdf:about="http://example.org/a" rdf:bagID="bag1">
>     <some:prop rdf:ID="st1">
>       <rdf:Description rdf:about="http://example.org/b" rdf:bagID="bag2">
>         <some:otherProp rdf:ID="st2">A literal</some:otherProp>
>       </rdf:Description>
>     </some:prop>
>   </rdf:Description>
></rdf:RDF>
><?xml version="1.0"?>
><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:some="http://example.org/">
>   <rdf:Description rdf:about="http://example.org/a" rdf:bagID="bag1">
>     <some:prop rdf:ID="st1" rdf:resource="http://example.org/b"/>
>   </rdf:Description>
>
>   <rdf:Description rdf:about="http://example.org/b" rdf:bagID="bag2">
>     <some:otherProp rdf:ID="st2">A literal</some:otherProp>
>   </rdf:Description>
></rdf:RDF>
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#bag1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#bag2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
><http://example.org/b> <http://example.org/otherProp> "A literal" .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#bag2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> 
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st2> 
>.
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/b> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> 
><http://example.org/otherProp> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "A literal" .
><http://example.org/a> <http://example.org/prop> <http://example.org/b> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#bag1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> 
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st1> 
>.
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/a> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> 
><http://example.org/prop> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://example.org/b> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#bag1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#bag2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> .
><http://example.org/b> <http://example.org/otherProp> "A literal" .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#bag2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> 
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st2> 
>.
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/b> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> 
><http://example.org/otherProp> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st2> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#object> "A literal" .
><http://example.org/a> <http://example.org/prop> <http://example.org/b> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#bag1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> 
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st1> 
>.
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://example.org/a> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> 
><http://example.org/prop> .
><http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.rdf#st1> 
><http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://example.org/b> .
Received on Thursday, 17 January 2002 09:03:31 EST

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