You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/03/22 20:43:00 UTC

[jira] [Created] (JENA-2317) Apply BGP reorder before filter placement.

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: jira-unsubscribe@jena.apache.org
For additional commands, e-mail: jira-help@jena.apache.org