W3C home > Mailing lists > Public > public-rdf-wg@w3.org > May 2011

Re: subtypes of xsd:string

From: Ivan Herman <ivan@w3.org>
Date: Thu, 26 May 2011 12:32:57 +0200
Cc: <david.wood@talis.com>, <richard@cyganiak.de>, <jeremy@topquadrant.com>, <public-rdf-wg@w3.org>
Message-Id: <19DA7FC6-12FA-4B14-B0E6-0E22E75358D0@w3.org>
To: Peter Frederick Patel-Schneider <pfps@research.bell-labs.com>

On May 26, 2011, at 03:21 , Peter Frederick Patel-Schneider wrote:
>> - add a subtype of xsd:string for language tagged strings;
>>  "foo"@en -> "foo"^^xsd:LanguageTaggedString@en or some such.
> Here is where this breaks down, just like the previous proposals like
> it.

I may be wrong in what David wants, so I try to interpret what he says which is

"foo"@en -> "foo"^^rdf:language-tag/en

or something like that. 

We always fall back to the same two choices, actually: either we define a generic URI scheme to define a load of datatype URI-s for language tags, or we go down the rdf:LanguageTaggedString route.

I must admit I begin to more in favour of the datatype per language tag idea than I was before, provided that we do not even try to enforce any kind of extra semantics for them. Ie, we do _not_ claim to know whether


is a subclass of


Smart and language aware implementations may add their own extra knowledge in terms of extra axioms (and let the generic inference mechanism work). We can only say that all these classes are subclasses of xsd:string.

I would still like to see what the implementation costs of all this would be for Jena, Sesame, RDFLib, etc; something that we might explicitly ask the community to comment upon.


Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Thursday, 26 May 2011 10:30:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:07 UTC