W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > November 2005

Re: SPARQL: language tag issues

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 22 Nov 2005 16:19:20 +0100
To: Eric Prud'hommeaux <eric@w3.org>
Cc: public-rdf-dawg-comments@w3.org
Message-ID: <42d6o1lr2mkr67r305cdfrfs3p4bv9vesv@hive.bjoern.hoehrmann.de>

* Eric Prud'hommeaux wrote:
>however, consistency is always nice. I'll propose
>"In SPARQL, a language-range of "*" matches any language-tag string
>and matches """ (maybe "the empty string"?)
>to the DAWG.

I think I'm happy either way, the current behavior makes some sense if
you care about only those things that have language information (though
language tags like "und" might complicate that) while the above would
make sense if you don't care about the language at all but hardcode the
langmatches() for simplicity (say, the query is composed through a UI
where some 'any language' select box entry translates to '*'). It would
be good to give an example for both use cases in the document.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 22 November 2005 15:19:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:49 GMT