- From: Brian McBride <bwm@hplb.hpl.hp.com>
- Date: Mon, 07 Oct 2002 07:49:50 +0100
- To: RDF Core <w3c-rdfcore-wg@w3.org>
This version includes the b-node idiom and some minor clarifications. 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> <rdf:Description rdf:about="Johnny"> <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 xsdr:integer="10"/> </rdf:Description> In n-triples this is equivalent to: <Jenny> <age> _:l . _:l <xsdr:integer> "10" . The object of the age property denotes an integer from the value space of xsd:integer. Proposal F: <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 Monday, 7 October 2002 03:07:40 UTC