FILTER SUBSTR(?var) not running on mavericks

6 views
Skip to first unread message

Fabio Ricci

unread,
Oct 3, 2014, 9:42:32 AM10/3/14
to 4store-...@googlegroups.com
Hi again dear community

I was wandering whether 4store was implementing SPARQL 1.1 (http://www.w3.org/TR/sparql11-query/) since my substr expression in

select distinct *
{
 ?c skos:prefLabel ?preflabel .
   FILTER (SUBSTR(?preflabel,1,7)='DBPedia'@DE) .
}

is not running (finds nothing where there is a value using the direct expression 
FILTER (?preflabel='DBPedia'@DE) .

Thank you very much in advance
Cheers

Fabio

swh

unread,
Oct 5, 2014, 5:47:12 PM10/5/14
to 4store-...@googlegroups.com
It's implemented, but are you sure that the language tag survives a SUBSTR() function?

Try projecting out the result of the SUBSTR(), like SELECT (SUBSTR(...) as ?ss) ... to see what strings are being matched.
Reply all
Reply to author
Forward
0 new messages