[ https://issues.apache.org/jira/browse/JENA-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne closed JENA-283. ------------------------------ > 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