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

[Fwd: Error in langMatches test LangMatches-3]

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 26 Jun 2006 11:44:17 +0100
Message-ID: <449FBA81.3060608@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

 From the comments list:

This test looks wrong as Steve noted:

http://lists.w3.org/Archives/Public/public-rdf-dawg/2006AprJun/0081.html

	Andy

-------- Original Message --------
Subject: Error in langMatches test LangMatches-3
Resent-Date: Thu, 22 Jun 2006 14:01:25 +0000
Resent-From: public-rdf-dawg-comments@w3.org
Date: Thu, 22 Jun 2006 16:01:06 +0200
From: Jan Wielemaker <wielemak@science.uva.nl>
Organization: HCS, University of Amsterdam
To: public-rdf-dawg-comments@w3.org


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 Monday, 26 June 2006 10:44:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:26 GMT