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

datatype literals and lang codes

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Mon, 21 Oct 2002 08:03:39 +0100
Message-Id: <>
To: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Cc: RDF Core <w3c-rdfcore-wg@w3.org>

Thinking in the bath about this issue and what might be bothering DanC with 
the proposal we thought we agreed on Friday.  I came up with the following 
test case, which may or may not reflect what he had in mind:


  <a> <b> "chat"<xsd:string>-"en" .

datatype entail:

  <a> <b> "chat"<xsd:string>-"fr" .

In the case where the literal denotes just the string "chat", then they 
do.  In the case where it denotes a pair, then they do not.

I personally find it hard to reconcile the datatype entailment:

   <a> <b> "foo"<dt1>
   <a> <b> "bar"<dt2>

whenever dt1.value("foo") = dt2.value("bar")

with the notion that datatype literals have lang codes.  The datatype 
entailment follows from the intuition that datatype literals denote a value 
from from the value space of a literal.  For values to have lang codes, 
that the French integer "10" is different to the English integer "10" seems 
to me likely to cause considerable user confusion.

Thus if the datatype entailment holds, then it seems that the entailment I 
started with:

  <a> <b> "chat"<xsd:string>-"en" .
datatype entail:
  <a> <b> "chat"<xsd:string>-"fr" .

must also hold and I wonder if this rather undermines Patrick's intent.  At 
the very least I suggest it will lead to both user confusion and 
interoperability problems.

Jeremy has the task of resolving this issue.  I am drawing his attention to 
these "bath thoughts" and copying the list so that folks can comment on the 

Received on Monday, 21 October 2002 03:01:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:16 UTC