Hi Kjetil,
This is a known problem that was fixed just after 5.0.9 archive was
closed for release. Is it possible you can try this against the
5.10.0 pre-release we sent you last week as the fix should be in
that archive ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
On 10 Dec 2008, at 12:48, Kjetil Kjernsmo wrote:
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
----------------------------------------------------------------------
--------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you. Join us at MIX09
to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://
2009.visitmix.com/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users