afs commented on issue #1614:
URL: https://github.com/apache/jena/issues/1614#issuecomment-1310237230

   > I guess, UNION clauses can't also be optimized
   
   The filter is being pushed in - there isn't any reorder of rdf:type (which 
is usually assumed to be risky choice).
   
   ```
       (sequence
           (union
             (filter (contains (lcase ?itemLabel) "border"@en)
               (quadpattern (quad <urn:x-arq:DefaultGraphNode> ?item 
<http://www.w3.org/2000/01/rdf-schema#label> ?itemLabel)))
             (filter (contains (lcase ?itemLabel) "border"@en)
               (quadpattern (quad <urn:x-arq:DefaultGraphNode> ?item 
<http://www.w3.org/2004/02/skos/core#altLabel> ?itemLabel))))
           (quadpattern (quad <urn:x-arq:DefaultGraphNode> ?item 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://wikiba.se/ontology#Property>)))))
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to