You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/12/11 21:55:46 UTC

[jira] [Created] (JENA-1086) property functions block filter placement.

Andy Seaborne created JENA-1086:
-----------------------------------

             Summary: property functions block filter placement.
                 Key: JENA-1086
                 URL: https://issues.apache.org/jira/browse/JENA-1086
             Project: Apache Jena
          Issue Type: Improvement
          Components: ARQ
    Affects Versions: Jena 3.0.1
            Reporter: Andy Seaborne


There is no reason that this filter can't be pushed through the property function.

Output of {{qparse --print=query --print=opt}}

{noformat}
PREFIX  :     <http://example/>
PREFIX  list: <http://jena.hpl.hp.com/ARQ/list#>

SELECT  *
WHERE
  { ?s     :p           ?o .
    ?list  list:member  ?member
    FILTER ( ?o )
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(prefix ((: <http://example/>)
         (list: <http://jena.hpl.hp.com/ARQ/list#>))
  (filter ?o
    (propfunc list:member
      ?list ?member
      (bgp (triple ?s :p ?o)))))
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)