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 2013/10/03 11:47:41 UTC

[jira] [Commented] (JENA-553) Handling of WITH keyword in SPARQL UPDATE seems to broken in Fuseki 1.0.0.

    [ https://issues.apache.org/jira/browse/JENA-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784948#comment-13784948 ] 

Andy Seaborne commented on JENA-553:
------------------------------------

Problem analysis: {{WITH <uri>}} is handled by creating a wrapper dataset {{DatasetGraphAltDefaultGraph}} in {{UpdateEngineWorker}}. The wrapper provides redirection for {{getDefaultGraph}}.

However, it does not provide replacement operations for {{find()}} and {{find(Quad)}}. The find methods get passed direct to the wrapped {{DatasetGraph}}.

> Handling of WITH keyword in SPARQL UPDATE seems to broken in Fuseki 1.0.0.
> --------------------------------------------------------------------------
>
>                 Key: JENA-553
>                 URL: https://issues.apache.org/jira/browse/JENA-553
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.11.0, Fuseki 1.0.0
>            Reporter: Michael Brunnbauer
>
> This does not generate the triple with "test1" as object:
> {noformat}
> drop graph <http://mytest>;
> insert data { graph <http://mytest> { _:b0 <http://test> "test" }};
> WITH <http://mytest>
> DELETE { ?s ?p "test" }
> INSERT { ?s ?p "test1" }
> WHERE { ?s ?p "test" }
> {noformat}
> But this does (without WITH on default graph):
> {noformat}
> drop DEFAULT;
> insert data { _:b0 <http://test> "test" };
> DELETE { ?s ?p "test" }
> INSERT { ?s ?p "test1" }
> WHERE { ?s ?p "test" }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)