Hi
Here is what seems a Virtuoso issue :
This fails:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbr: <http://dbpedia.org/resource/>
SELECT * WHERE {
* BIND ( "PARIS"@fr AS ?CITY_string ) *
?CITY a dbo:PopulatedPlace .
?CITY rdfs:label ?lab .
* ?lab <bif:contains> ?CITY_string .*
?CITY dbo:country dbr:France .
filter( ucase(str(?lab)) = str(?CITY_string) )
}
in YASGUI on http://dbpedia.org/sparql with this message:
Virtuoso 22023 Error SR468: contains() can not be called as plain
built-in function, it's a macro handled by SQL compiler
FYI, *bif:contains* is the full text operator in Virtuoso.
NOTE: this is part of a real-life federated query that fails too:
https://github.com/jmvanel/semantic_forms/blob/master/
sparql/cities-to-URIs.rq
--
Jean-Marc Vanel
http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject
<http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
DBpedia-discussion mailing list
DBpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion