W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2006

When is it approprite to use RDF Collections?

From: froggy000 <chris.richard@gmail.com>
Date: Thu, 9 Nov 2006 15:07:13 -0800 (PST)
Message-ID: <7268273.post@talk.nabble.com>
To: www-rdf-interest@w3.org

>From the primer, demonstrating the use of RDF Collections:

   <rdf:Description rdf:about="http://example.org/courses/6.001">
      <s:students rdf:parseType="Collection">
            <rdf:Description rdf:about="http://example.org/students/Amy"/>

Why would I want to use this over:

   <rdf:Description rdf:about="http://example.org/courses/6.001">
      <s:student rdf:resource="http://example.org/students/Amy"/>
      <s:student rdf:resource="http://example.org/students/Mohamed"/>
      <s:student rdf:resource="http://example.org/students/Johann"/>

I do understand the different graph that gets created in the two different
cases but this hasn't helped me. 

In the second case, if I want the list of students in the class I can run a
simple SPARQL query. If I want to restrict other graphs from making
statements about the list of students, again I can use SPARQL constructs
(GRAPH keyword).

Is there a clear semantic difference between the two representations? Under
what circumstances would I want to use one and not the other. How about RDF


View this message in context: http://www.nabble.com/When-is-it-approprite-to-use-RDF-Collections--tf2604772.html#a7268273
Sent from the w3.org - www-rdf-interest mailing list archive at Nabble.com.
Received on Friday, 10 November 2006 03:14:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:58 UTC