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

Re: ISSUE-12: xs:string VS plain literals: proposed resolution

From: Pierre-Antoine Champin <pierre-antoine.champin@liris.cnrs.fr>
Date: Mon, 09 May 2011 19:11:24 +0200
Message-ID: <4DC8203C.8070108@liris.cnrs.fr>
To: Steve Harris <steve.harris@garlik.com>
CC: "public-rdf-wg@w3.org" <public-rdf-wg@w3.org>
On 05/06/2011 04:22 PM, Steve Harris wrote:
> Not really DATATYPE("foo") is xsd:string already. http://www.w3.org/TR/rdf-sparql-query/#func-datatype

yes, but it only states that for *simple literals* (that are literals
without language type, IIRC). It does not seem to say anything about
literals with a language tag :-(

A test on dbpedia is not really compelling as both datatype("foo") and
datatype("foo"@en) seem to return NULL, which for the former would mean
a non-conformant implementation...



Received on Monday, 9 May 2011 17:11:49 UTC

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