[
https://issues.apache.org/jira/browse/JENA-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Brunnbauer updated JENA-553:
------------------------------------
Description:
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}
was:
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}
> 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: Fuseki
> Affects Versions: 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)