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

Re: RDF-ISSUE-12 (String Literals): Reconcile various forms of string literals (time permitting) [Cleanup tasks]

From: Steve Harris <steve.harris@garlik.com>
Date: Sun, 6 Mar 2011 18:32:02 +0000
Cc: Sandro Hawke <sandro@w3.org>, Pat Hayes <phayes@ihmc.us>, RDF Working Group WG <public-rdf-wg@w3.org>
Message-Id: <2FE5518C-3F3B-47EA-BF31-DE99F9C1F60C@garlik.com>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
On 2011-03-06, at 16:37, Andy Seaborne wrote:
> On 06/03/11 08:12, Steve Harris wrote:
>>> What about just saying, "please don't use xs:string any more", and
>>> "if
>>>> you (some RDF software) find an xs:string, you SHOULD convert it
>>>> to a plain literal".  Would that pretty much solve the problem?
>> That's the inverse of what I suggested just before I read this mail.
>> It works for me (from a storage point of view it's probably simpler),
>> but I understand that it's not ideal for some reasoning systems?
> 
> the inverse was:
> On 06/03/11 07:59, Steve Harris wrote:
> >     "foo"^^xsd:string  ->   "foo"^^xsd:string
> >     "foo"  ->   "foo"^^xsd:string
> >     "foo"@de  ->   "foo"^^xsd:string @de
> 
> 
> I think it works better as
> 
>  "foo"^^xsd:string -> "foo"
>  "foo"@de  ->   "foo"@de

I agree, but someone, possibly Pat said there was an issue with untyped literals and reasoning.

> because at the moment, code can assume that a literal has either a lang tag or a datatype but not both.  If that changes, a niggly bugs may appear.

Almost certainly, yes.

- Steve

-- 
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD
Received on Sunday, 6 March 2011 18:32:38 UTC

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