[Mulgara-general] SPARQL filter not being applied.
Jim Irwin
jimirwin at acm.org
Mon Jun 22 18:34:11 UTC 2009
We are running Mulgara server 2.1.1 and client querylang-2.1.1.jar.
If I submit the following SPARQL query, it appears as if the FILTER
(?rvxtmp_1 = "Gesture") is being ignored. What I get back is all
instances that have rbrnr:Object-Name triples, and not just those that
have a property value of "Gesture". Is there something wrong with the
way this query is formulated? It does work as expected when executed on
Jena.
PREFIX fn: <http://www.w3.org/2005/xpath-functions>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rbrnr: <http://www.slholmes.org/ontologies/2009/terms/rdfburner#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?instance ?rvtx_auto_label
WHERE {{?instance rbrnr:Object-Name ?rvxtmp_1 .
FILTER (?rvxtmp_1 = "Gesture")
FILTER (!isBLANK(?instance))}
OPTIONAL {?instance rdfs:label ?rvtx_auto_label .}}
Jim Irwin
Revelytix, Inc.
More information about the Mulgara-general
mailing list