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

action: ask webont for input

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Sat, 05 Oct 2002 10:34:00 +0100
Message-Id: <5.1.0.14.0.20021005094948.03ab79c0@0-mail-1.hpl.hp.com>
To: RDF Core <w3c-rdfcore-wg@w3.org>

Draft Question for Webont:

RDFCore are considering a number of ways of representing datatyped values 
in RDF graphs and RDF/XML.  We would like to know WEBONT's preference 
amongst the following options.  Please could you rank them in order of 
preference, and identify any which would be unacceptable.  Unacceptability 
is not a matter of taste; to label an option as unacceptable, a critical 
requirement that cannot be met must be identified.


Proposal A:

   <rdf:Description rdf:about="Jenny">
     <foo:age>10</foo:age>
   </rdf:Description>

The object of the age property denotes a string literal[*].

Proposal B:

   <rdf:Description rdf:about="Jenny">
     <foo:age>10</foo:age>
   </rdf:Description>
   <rdf:Description rdf:about="&foo;age>
     <rdfs:format rdf:resource="&xsdr;integer"/>
   </rdf:Description>

The object of an age property denotes a string literal [*] from the lexical 
space of xsd:integer.

Proposal C:

   <rdf:Description rdf:about="Jenny">
     <foo:age rdf:datatype="&xsdr;integer>10</foo:age>
   </rdf:Description>

The object of the age property denotes a member of the value space of 
xsd:integer.

Proposal D:

   <rdf:datatype rdf:property="&foo:age" rdf:datatype="&xsdr;decimal"/>
   <rdf:Description rdf:about="Jenny">
     <foo:age>10</foo:age>
   </rdf:Description>

Proposal D is proposal C with some syntactic sugar (the rdf:datatype 
declaration) so that it is not necessary to put an rdf:datatype attribute 
on every use of the age property.

Proposal E:

   <rdf:Description rdf:about="Jenny">
     <foo:age>10</foo:age>
   </rdf:Description>
   <rdf:Description rdf:about="&foo;age>
     <rdfs:range rdf:resource="&xsdr;decimal"/>
   </rdf:Description>

The object of an age property denotes an integer from the value space of 
xsd:decimal.

[*] A string literal is an old style RDF literal which consists of a 
unicode string and language identifier.
Received on Saturday, 5 October 2002 05:36:57 EDT

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