All,

We have the following perhaps overly complex query:

prefix dct: <http://purl.org/dc/terms/>
CONSTRUCT { ?resource a ?type ; rdfs:label ?title . }
FROM <http://msone.computas.no/graphs>
FROM NAMED <http://msone.computas.no/graphs/ontology/mediasone>
FROM NAMED <http://msone.computas.no/graphs/inferred/nfi/agent-classification>
FROM NAMED <http://msone.computas.no/graphs/ontology/mediasone>
FROM NAMED <http://msone.computas.no/graphs/inferred/mo/agent-classification>
FROM NAMED <http://msone.computas.no/graphs/instance/nfi>
FROM NAMED <http://msone.computas.no/graphs/instance/mo>

WHERE {
        { ?ontology a <http://msone.computas.no/graphs#OntoGraph> . 
GRAPH ?ontology   
{ ?resource a ?type . FILTER (?type = 
<http://www.w3.org/2002/07/owl#Class> ) . 
?resource rdfs:label ?title . }  }

UNION { ?instances a <http://msone.computas.no/graphs#InstanceGraph> .  
GRAPH ?instances   { { ?resource a ?type . FILTER (?type = 
<http://musicbrainz.org/mm/mm-2.1#Track> ) . 
?resource dct:title ?title . }
UNION { ?resource a ?type . FILTER (?type = 
<http://www.csd.abdn.ac.uk/~ggrimnes/dev/imdb/IMDB#Movie> ). 
?resource dct:title ?title .  }
UNION { ?resource a ?type .  FILTER (?type = 
<http://xmlns.com/foaf/0.1/Image> ) . ?resource dct:title ?title .  }
UNION {  ?resource a ?type .  FILTER (?type = 
<http://www.computas.com/mediasone#Text> ) . ?resource 
dct:title ?title .     } }
}
FILTER regex(?title, "øl", "i")  }  ORDER BY

When this is run http://msoneutv.computas.no:8890/sparql which has a patched 
5.0.10, it seems to have some case sensitivity problems with the UTF-8 
character, in the final filter clause. 

øl and Øl yields different results and given the "i" operator, we would expect 
it to give the same result.



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