Hi all, A colleague just discovered the following problem:
The following query is supposed to return all titles beginning with a certain string. The complicating matter is that now we have a problem in our data, they all begin with a space. The match should be case-insensitive. So, this should be the query: prefix dct:<http://purl.org/dc/terms/> CONSTRUCT { ?resource dct:title ?title } FROM <http://msone.computas.no/graphs/instance/nfi> FROM <http://msone.computas.no/graphs/inferred/NFI> WHERE { ?resource dct:title ?title . FILTER regex(str(?title), "^ aber", "i") } LIMIT 10 Our development endpoint running 5.0.9 is here: http://msone.computas.no:8890/sparql This doesn't return any solutions, but FILTER regex(str(?title), "^ Aber", "i") does. So, it appears that something is wrong with the case-insensitive match? 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