W3C home > Mailing lists > Public > public-owl-dev@w3.org > January to March 2008

Re: OWL (or RDFS) and RDF and language tags

From: Bijan Parsia <bparsia@cs.man.ac.uk>
Date: Thu, 7 Feb 2008 18:12:10 +0000
Message-Id: <20832083-8509-4A93-B71F-47D2F5525903@cs.man.ac.uk>
Cc: Owl Dev <public-owl-dev@w3.org>
To: Jeremy Carroll <jjc@hpl.hp.com>

On 7 Feb 2008, at 18:03, Jeremy Carroll wrote:

> Bijan Parsia wrote:
>> Oh, another possibility is to use some derivation of xsd:string +  
>> pattern facets to constrain oneself to ones ending with, e.g.,  
>> @en. Unfortunately, at the moment, I don't think any current  
>> reason supports pattern facets, though I imagine that will change  
>> soon:
>>     http://spreadsheets.google.com/pub?key=pTmcCXR-dV6RpTEPxB0O-DQ
>> You would still have to convert to/fro normal langed literals, so  
>> that's a bit unfortunate.
>> Cheers,
>> Bijan.
>
> No won't work.

Yes it will.

> An xsd:string has no language tag.

You missed the point that I wouldn't *use* a language tag per se, but  
*encode* the language tag inside the string itself. Hence the need to  
"convert to/fro normal langed literals". This is a *workaround* and I  
pretty explicitly pointed out that it requires custom code. If that  
custom code worked at the application and import/export layers, it  
should be fine. Not pretty, but fine.

Cheers,
Bijan.
Received on Thursday, 7 February 2008 18:10:22 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:55 GMT