Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPARQL 1.1 Update: Delete and Insert in one query does not work #26

Closed
jakubklimek opened this issue Mar 10, 2013 · 1 comment
Closed
Assignees

Comments

@jakubklimek
Copy link

jakubklimek commented Mar 10, 2013

The example from W3C:

PREFIX dc: http://purl.org/dc/elements/1.1/
DELETE DATA
{ GRAPH http://example/bookStore { http://example/book1  dc:title  "Fundamentals of Compiler Desing" } } ;

PREFIX dc: http://purl.org/dc/elements/1.1/
INSERT DATA
{ GRAPH http://example/bookStore { http://example/book1  dc:title  "Fundamentals of Compiler Design" } }

does not work:

Virtuoso 37000 Error SP030: SPARQL compiler, line 7: syntax error at 'PREFIX' before 'dc:'

Even if I remove the prefix redefinition (which nevertheless should work), it does not work:

Virtuoso 37000 Error SQ074: Line 7: syntax error at 'INSERT' before 'DATA'

Even if I remove the semicolon between the two clauses, it does not work.

Separately, the clauses work.

Virtuoso compiled from source develop/6 branch, 10.3.2013, version from 7.3.2013

@jakubklimek
Copy link
Author

Works in d76ab20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants