You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Brian McBride (JIRA)" <ji...@apache.org> on 2013/04/04 13:55:15 UTC

[jira] [Updated] (JENA-430) Incorrect query results from TDB with FILTER NOT EXISTS containing a filter

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

Brian McBride updated JENA-430:
-------------------------------

    Attachment: Main.java

Main program minimal test case
                
> Incorrect query results from TDB with FILTER NOT EXISTS containing a filter
> ---------------------------------------------------------------------------
>
>                 Key: JENA-430
>                 URL: https://issues.apache.org/jira/browse/JENA-430
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB
>    Affects Versions: TDB 0.9.4
>         Environment: Windows 8
>            Reporter: Brian McBride
>         Attachments: Main.java
>
>
> TDB is producing incorrect results processing queries containing FILTER NOT EXISTS clauses with an inner filter, such as
> PREFIX : <http://example.com/>
> SELECT * WHERE {
>         ?x :p ?n
>         FILTER NOT EXISTS {
>                 ?x :q ?m .
>                 FILTER(?n = ?m)
>         }
> }
> an example taken from the spec.  In this case it produces no results when it should produce one.
> I'll attach a test case in moment - which produces the correct result when the query is run on a memory model and incorrect one (no results) when run on TDB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira