Andy Seaborne created JENA-2317:
-----------------------------------

             Summary: Apply BGP reorder before filter placement.
                 Key: JENA-2317
                 URL: https://issues.apache.org/jira/browse/JENA-2317
             Project: Apache Jena
          Issue Type: Improvement
          Components: ARQ
    Affects Versions: Jena 4.4.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
             Fix For: Jena 4.5.0


The reordering of BGPs is usually left until execution because the pattern may 
become more grounded during execution.

Filter are moved around during the optimization of the algebra. This can break 
up BGPs by putting a filter in the middle of them and that then blocks 
reordering. Specifically, a triple pattern with two ground terms (and the 
property is not rdf:type) usually yields only a few results. But if we have a 
BGP where first pattern is a triple pattern of one ground term and a 
restriction on the object value (as occurs in BSBM Q5), reordering does not 
find the better starting point.

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to