W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2003

Comment on rdf:parseType="Collection"

From: Jim Hendler <hendler@cs.umd.edu>
Date: Wed, 19 Feb 2003 19:42:44 -0500
Message-Id: <p05200f66ba79d4ea39df@[]>
To: www-rdf-comments@w3.org

The RDF Core Working Group documents (particularly [1]) reflect a 
decision that rdf:parsetype="collection" must be a list if RDF node 
elements.  I believe the RDF Core WG is making a mistake by 
prohibiting this from being a list of literals, and to the best of my 
ability to deduce, there is no technical reason why a list of 
literals could not be supported.

This decision has terrible ramifications for languages built on top 
of RDF (like OWL) which thus must use extremely ugly constructs for 
lists of literals (in fact, constructing the entire list using List, 
first, and rest).  For example, a natural thing to express in OWL (or 
RDFS for that matter) might be that the list of permissible scores in 
a game of tennis are 0, 15, 30, and 40.  However, instead of the 

<owl:oneOf rdf:parsetype="collection">
  <score rdf:datatype="xsd:integer">0</score>
  <score rdf:datatype="xsd:integer">15</score>
  <score rdf:datatype="xsd:integer">30</score>
  <score rdf:datatype="xsd:integer">40</score>

we must instead

            <rdf:first rdf:datatype="xsd:integer">0</rdf:first>
                <rdf:first rdf:datatype="xsd:integer">15</rdf:first>
                    <rdf:first rdf:datatype="xsd:integer">30</rdf:first>
                        <rdf:first rdf:datatype="xsd:integer">40</rdf:first>
                        <rdf:rest rdf:resource="&rdf;nil" />

I believe the ability to express a collection of datatype values is a 
very important one, and believe it is a mistake for RDF Core to put 
this restriction on the use of rdf:parsetype="collection" without a 
stronger motivation than I can find in the current LC documents.

  Jim Hendler
  AC Member, MIND Laboratory

p.s. Please note this is an individual comment raised as AC member, 
not a consensus comment from the web ontology working group nor does 
it necessarily represent the opinion of any other group or 
organization with which I am affiliated.  I also apologize if this 
issue has been brought up before - if it has, just consider this a +1 
for the objection.


Professor James Hendler				  hendler@cs.umd.edu
Director, Semantic Web and Agent Technologies	  301-405-2696
Maryland Information and Network Dynamics Lab.	  301-405-6707 (Fax)
Univ of Maryland, College Park, MD 20742	  240-731-3822 (Cell)
Received on Wednesday, 19 February 2003 19:42:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:20 UTC