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 2012/07/29 12:48:33 UTC

[jira] [Resolved] (JENA-283) FILTER equality transform is not handling OPTIONAL properly.

     [ https://issues.apache.org/jira/browse/JENA-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-283.
--------------------------------

    Resolution: Fixed

TransformFilterEquality now handles pre and port join linearization forms.
                
> FILTER equality transform is not handling OPTIONAL properly.
> ------------------------------------------------------------
>
>                 Key: JENA-283
>                 URL: https://issues.apache.org/jira/browse/JENA-283
>             Project: Apache Jena
>          Issue Type: Task
>          Components: ARQ
>    Affects Versions: ARQ 2.9.2
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> PREFIX  p2:   <http://example/base/t2>
> PREFIX  p1:   <http://example/base/t1>
> SELECT DISTINCT  ?R1 ?optionalValue
> WHERE
>   { ?R1 p1:pr1 <https://host:9443/jts/process/project-areas/p>
>     FILTER ( ?R1 = <https://host:9443/rm/resources/_r1> )
>     OPTIONAL
>       { ?R1 p2:pr2 ?optionalValue }
>   }
> ==>
> (base <http://example/base/>
>   (prefix ((p2: <t2>)
>            (p1: <t1>))
>     (distinct
>       (project (?R1 ?optionalValue)
>         (filter (= ?R1 <https://host:9443/rm/resources/_r1>)
>           (leftjoin
>             (bgp (triple ?R1 p1:pr1 <https://host:9443/jts/process/project-areas/p>))
>             (bgp (triple ?R1 p2:pr2 ?optionalValue))))))))
> It should use substitute / extend.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira