On Tuesday 21 April 2009 11:21:32 Kjetil Kjernsmo wrote:
> øl and Øl yields different results and given the "i" operator, we would
> expect it to give the same result.

Actually, this turns out to have become worse in 5.0.11. Now

prefix dct: <http://purl.org/dc/terms/>
CONSTRUCT { ?resource rdfs:label ?title . }
FROM NAMED <http://msone.computas.no/graphs/instance/nfi> 
WHERE { 
GRAPH <http://msone.computas.no/graphs/instance/nfi>  {
?resource dct:title ?title .  
FILTER regex(?title, "øl", "i")  }
}

gives no results whereas 

prefix dct: <http://purl.org/dc/terms/>
CONSTRUCT { ?resource rdfs:label ?title . }
FROM NAMED <http://msone.computas.no/graphs/instance/nfi> 
WHERE { 
GRAPH <http://msone.computas.no/graphs/instance/nfi>  {
?resource dct:title ?title .  
FILTER regex(?title, "øl", "i")  }
}

In fact, it appears that the "i" operator breaks any query with non-ASCII 
characters. 


Kind regards 

Kjetil Kjernsmo
-- 
Senior Knowledge Engineer
Mobile: +47 986 48 234
Email: kjetil.kjern...@computas.com   
Web: http://www.computas.com/

|  SHARE YOUR KNOWLEDGE  |

Computas AS  PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 
1001


Reply via email to