Hi Sergio,
This is a known issue for their should be a fix in the next Virtuoso
release. I shall notify you when this is available ...
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 12 Oct 2008, at 11:14, Sergio Fernández wrote:
Hi,
I've a triple like:
<#bar> rdfs:label "Bar"
Obviously this query will return results:
SELECT DISTINCT ?uri
WHERE {
?uri rdfs:label ?label .
FILTER REGEX(?label, "Bar")
}
But according the specification [1] I also expected to get result with
this one:
SELECT DISTINCT ?uri
WHERE {
?uri rdfs:label ?label .
FILTER REGEX(?label, "bar", "i")
}
But the latest query doesn't return any tuple. Is there any better way
to do this string comparisons? I remember that there also exists a
built-in function to compare strings in Virtuoso instead regex, but
now
I don't remember its name/reference...
Cheers,
[1] http://www.w3.org/TR/rdf-sparql-query/#funcex-regex
--
Sergio Fernández - sergio.fernan...@fundacionctic.org
R&D Deparment
CTIC Foundation - www.fundacionctic.org
Phone: +34 984 29 12 12
Fax: +34 984 39 06 12
Edificio Centros Tecnológicos
Parque Científico Tecnológico
33203 Cabueñes - Gijón - Asturias - Spain
----------------------------------------------------------------------
---
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users