REPEAT: RDF Plain Literals and xsd:string

Ladies and Gentlemen,

Having received no response to my first posting of this question:
  
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2003Jul/0004.html

(please excuse me if I missed it) I am resending it and including the
schema WG list.  Please note that this is a matter of some urgency to
RDFCore and we would appreciate a quick response, even if its "dunno
guv".

[[
Folks,

RDFCore is being asked whether RDF plain literals [*] and xsd:string 
denote the same thing.  Intuitively it seems that they ought, but we 
held of stating this because we have been a little confused about how to 
interpret the XML Schema datatypes specification.

For example, whilst the value space of xsd:string is defined to be a 
sequence of characters, and the value spaceof xsd:anyURI is defined to 
be the set of URI references, which are defined by RFC 2396 to be 
sequences of characters, it has been stated that the value spaces of 
xsd:anyURI and xsd:string are disjoint.

As a result of such confusions we have postponed describing the RDF 
class hierarchy for xsd primitive types, lest it turn out, for example, 
that the value space of say xsd:string should properly be considered to 
be a pair, consisting of a primitive type identifier and the actual value.

Since the specific question of whether plain literals are the same thing 
as xsd:string values is the most commonly raised, I have been asked by 
the RDFCore WG to ask you, in the form of a test case for your opinion.

A plain literal in RDF is defined to be a string of characters.
 
http://www.w3.org/2001/sw/RDFCore/TR/WD-rdf-concepts-20030117/#section-Literals

The test case sets up two RDF statements, one with the plain literal 
consisting of the sequence of characters "foo" as its object, and the 
other with the xsd:string "foo" as its object.  The question is whether 
the objects of these two statements must denote the same value.

More formally, does:

<s1> <p1> "foo" .
<s2> <p2> "foo"^^<xsd:string> .

entail

<s1> <p1> _:value .
<s2> <p2> _:value .

I regret that I have had to express the test case in RDF terms, but it 
was the only way I know to get the precision I am seeking.

Brian McBride
co-chair RDFCore

[*] I leave aside as irrelevant to this discussion the other form of 
plain literals that include a language tag
]]
  

Received on Thursday, 24 July 2003 09:07:25 UTC