- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Tue, 7 Aug 2007 05:48:09 -0400
- To: Lee Feigenbaum <lee@thefigtrees.net>
- Cc: 'RDF Data Access Working Group' <public-rdf-dawg@w3.org>
Received on Tuesday, 7 August 2007 09:48:51 UTC
* Lee Feigenbaum <lee@thefigtrees.net> [2007-08-06 09:01-0400] > ACTION: ericP to write a test showing that langMatches doens't do extended > matching I checked with i18n-core and it appears that there are no tests that basic matches but extended does not match. http://www.w3.org/mid/46A62549.7010807@yahoo-inc.com I propose: http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/manifest.ttl LangMatches-basic Data: @prefix : <http://example.org/#> . :x :p3 "abc"@de . :x :p4 "abc"@de-DE . :x :p5 "abc"@de-Latn-DE . Query: PREFIX : <http://example.org/#> SELECT * { :x ?p ?v . FILTER langMatches(lang(?v), "de-DE") . } Results: ┌────────────────────────┬───────────┐ │ p│ v│ ├────────────────────────┼───────────┤ │<http://example.org/#p4>│"abc"@de-de│ └────────────────────────┴───────────┘ and i pass it... -- -eric office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA mobile: +1.617.599.3509 (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution.
Received on Tuesday, 7 August 2007 09:48:51 UTC