W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > June 2006

Error in langMatches test LangMatches-3

From: Jan Wielemaker <wielemak@science.uva.nl>
Date: Thu, 22 Jun 2006 16:01:06 +0200
To: public-rdf-dawg-comments@w3.org
Message-Id: <200606221601.06585.wielemak@science.uva.nl>

Hi,

The test langMatches-3 reads:

================================================================
PREFIX : <http://example.org/#>

SELECT *
{ :x ?p ?v . FILTER langMatches(lang(?v), "*") . }
================================================================

With data 

================================================================
@prefix : <http://example.org/#> .

:x :p1 "abc" .
:x :p2 <abc> .
:x :p3 "abc"@en .
:x :p4 "abc"@en-gb .
:x :p5 "abc"@fr .
================================================================

The result-set specifies the answers p1, p3, p4 and p5.  P1 is in conflict
with "11.4.11 langMatches", which explicitely states * does *not* match
literals without a language qualifier.

	Cheers --- Jan
Received on Thursday, 22 June 2006 14:01:21 GMT

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