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

Re: Rethinking ISSUE-12 with lang datatypes

From: Richard Cyganiak <richard@cyganiak.de>
Date: Fri, 27 May 2011 19:43:07 +0100
Cc: public-rdf-wg@w3.org
Message-Id: <903122A4-3FB8-4D52-B213-3D1D1FDA6CA6@cyganiak.de>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
On 27 May 2011, at 11:33, Andy Seaborne wrote:
> Why not declare a class rdf:String that is the features we want and leave rdf:PlainLiteral, with all it's datatype features that are being used, alone? (make it a subclass).
...
> A reasonable expectation of users (whether technically right or not - people have intuitions about strings)
> 
>    skos:prefLabel rdfs:range <datatype>
> 
> is that they can write
> 
>    <s> skos:prefLabel "foo"^^<datatype> .

Huh?

You still can't say

   skos:prefLabel rdfs:range rdf:String .
   <s> skos:prefLabel "foo"^^rdf:String .

unless you define a lexical space, and this would take us right back to the rdf:PlainLiteral "foo@en" mess.

Also, I don't like having both xsd:string and rdf:String with different meaning.

Richard
Received on Friday, 27 May 2011 18:43:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:43 GMT