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

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