[
https://issues.apache.org/jira/browse/JENA-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Warren updated JENA-595:
-------------------------------
Attachment: FilterPlacementError.java
Simpler example for the Filter Placement Error
Seems to be an issue of BIND in the middle of the query.
== EXECUTED QUERY ===
QueryIterRoot
QueryIterBlockTriples
?foob <http://example.com/binding> ?v_binder .
QueryIterFilterExpr regex(?foo, "a", "i")
QueryIterAssign [?bound] // {?bound=if(?v_binder, "YES", "NO")}
QueryIterBlockTriples
?foob <http://www.w3.org/2000/01/rdf-schema#label> ?foo .
QueryIterProject ?foo ?bound
=== QUERY ====
SELECT ?foo ?bound
WHERE
{ ?foob <http://example.com/binding> ?v_binder
BIND(if(?v_binder, "YES", "NO") AS ?bound)
?foob <http://www.w3.org/2000/01/rdf-schema#label> ?foo
FILTER regex(?foo, "a", "i")
}
> Improve filter placement optimization
> -------------------------------------
>
> Key: JENA-595
> URL: https://issues.apache.org/jira/browse/JENA-595
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Attachments: FilterPlacementError.java, JENA-595-FilterPlacement.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)