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

Re: Error in langMatches test LangMatches-3

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 26 Jun 2006 11:48:52 +0100
Message-ID: <449FBB94.4010002@hp.com>
To: Jan Wielemaker <wielemak@science.uva.nl>
CC: public-rdf-dawg-comments@w3.org

I agree with your interpretation so I have forwarded this to the working group.

	Andy

Jan Wielemaker wrote:
> 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:49:10 GMT

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