You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GeoSPARQL relation triples inside FILTER (NOT) EXISTS match nothing #56
Found in review of #55. This is on main and needs no property path.
SELECT ?x ?r WHERE { ?r a ex:R ; geo:hasGeometry ?rg . ?x a ex:P FILTER EXISTS { ?x geo:hasGeometry ?g . ?g geo:sfWithin ?rg } } gives 0 rows. The same pattern outside EXISTS gives 648. FILTER NOT EXISTS keeps every row for the same reason. The docs don't state this as a limit.
Cause: the spatial rewrite walks graph patterns but not the patterns inside expressions. An EXISTS sees only asserted geo:sfWithin triples, and the probe data has none.
Activity
fix(spatial): infer relation triples inside EXISTS