You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Michael Brunnbauer (JIRA)" <ji...@apache.org> on 2013/10/02 18:37:42 UTC
[jira] [Updated] (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: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:
{quote}
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"
}
{quote}
But this does (without WITH on default graph):
{quote}
drop DEFAULT;
insert data {
_:b0 <http://test> "test"
};
DELETE {
?s ?p "test"
}
INSERT
{
?s ?p "test1".
}
WHERE
{
?s ?p "test"
}
{quote}
> 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)