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/11/03 11:56:12 UTC

[jira] [Created] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Andy Seaborne created JENA-344:
----------------------------------

             Summary: SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
                 Key: JENA-344
                 URL: https://issues.apache.org/jira/browse/JENA-344
             Project: Apache Jena
          Issue Type: Bug
          Components: ARQ
    Affects Versions: ARQ 2.9.4
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Resolved] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-344.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Jena 2.10.0

DatasetGraphTransaction now implements GraphStore so a wrapper isn't needed and isn't added.
                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.10.0
>
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Commented] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489992#comment-13489992 ] 

Andy Seaborne commented on JENA-344:
------------------------------------

The solution is to add to GraphStore a method for "query this".
                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Closed] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-344.
------------------------------

    
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.10.0
>
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Commented] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490045#comment-13490045 ] 

Hudson commented on JENA-344:
-----------------------------

Integrated in Jena__Development_Test #253 (See [https://builds.apache.org/job/Jena__Development_Test/253/])
    JENA-344 fix.  Implement GraphStore interface. (Revision 1405367)

     Result = SUCCESS
andy : 
Files : 
* /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java

                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.10.0
>
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Commented] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490023#comment-13490023 ] 

Andy Seaborne commented on JENA-344:
------------------------------------

The storage unit DatasetGraphTDB is a graph store so this should be recognized by the query engine causing the TDB subsystem to directly execute the WHERE clause.

The graph store / datasetgraph used must be wrapped in some way, hiding the underlying TDB implementation.

                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Commented] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492396#comment-13492396 ] 

Hudson commented on JENA-344:
-----------------------------

Integrated in Jena_Development_Test_Windows #6 (See [https://builds.apache.org/job/Jena_Development_Test_Windows/6/])
    Add test for JENA-344 (unionDefaultGraph and SPARQL Update) (Revision 1405380)
JENA-344 fix.  Implement GraphStore interface. (Revision 1405367)

     Result = UNSTABLE
andy : 
Files : 
* /jena/trunk/jena-tdb/ReleaseNotes.txt
* /jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/store/Test_SPARQL_TDB.java

andy : 
Files : 
* /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/DatasetGraphTransaction.java

                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.10.0
>
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Commented] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490162#comment-13490162 ] 

Hudson commented on JENA-344:
-----------------------------

Integrated in Jena__Development_Test #254 (See [https://builds.apache.org/job/Jena__Development_Test/254/])
    Add test for JENA-344 (unionDefaultGraph and SPARQL Update) (Revision 1405380)

     Result = SUCCESS
andy : 
Files : 
* /jena/trunk/jena-tdb/ReleaseNotes.txt
* /jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/store/Test_SPARQL_TDB.java

                
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.10.0
>
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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

[jira] [Updated] (JENA-344) SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne updated JENA-344:
-------------------------------

    Comment: was deleted

(was: The solution is to add to GraphStore a method for "query this".)
    
> SPARQL Update WHERE masks the real dataset, making evaluation not respect unionGraph.
> -------------------------------------------------------------------------------------
>
>                 Key: JENA-344
>                 URL: https://issues.apache.org/jira/browse/JENA-344
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> If TDB unionGraph is set, it is not seen because the WHERE is evaluated on the graph store (GraphStoreBasic) and that is not recognized by the TDB query engine.  Hence it uses the general purpose query engine, and fails to honour unionGraph.

--
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