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

Problem with rdf:XMLLiteral

From: Jos de Bruijn <debruijn@inf.unibz.it>
Date: Fri, 23 Jan 2009 14:50:14 +0100
Message-ID: <4979CB16.30001@inf.unibz.it>
To: www-rdf-comments@w3.org
CC: Ivan Herman <ivan@w3.org>

I believe there is an error in the RDF concepts document.
The problem is in the definition of the XMLLiteral datatype [1]; the
value space is ambiguous: it is defined to be disjoint from the value
space of the XML schema datatypes, but does not say anything about other
datatypes.  It is therefore unclear whether there is overlap between the
value space of XMLLiteral and, for example, the new datatype rdf:text.
This is a problem for any language relying on this datatype, in
particular, RIF and OWL 2.

Consider, for example, the statement

"<bla>"^^rdf:XMLLiteral = "123@en"^^rdf:text

it is possible to decide whether this statement should hold or not,
i.e., whether is it derived from the empty rule set/ontology.

I propose to add the following text to the RDF errata document [3].

The following text, in the second bullet of the subheading "The value
space" of Section 5.1 of the RDF Concepts document:

    disjoint from the value space of any XML schema datatype [XML-SCHEMA2]

should be replaced by:

    disjoint from the value space of any other present or future
datatype (e.g., XML schema [XML-SCHEMA2]), with the exception of future
sub- or supertypes of this datatype

The reason for the replacement is that the definition was ambiguous: the
relationship between the value space of rdf:XMLLiteral and the value
spaces of datatypes not defined in the 2001 version of XML Schema (e.g.,
rdf:text) is unclear.  For example, one cannot infer from the
specifications whether there is overlap between the value spaces.

[1] http://www.w3.org/TR/rdf-concepts/#section-XMLLiteral
[2] http://www.w3.org/2001/sw/RDFCore/errata

Received on Friday, 23 January 2009 13:50:34 UTC

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