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

Fix sparql generator for SPARQL 1.1 update ADD, MOVE, COPY operations #151

Merged

Conversation

QuarksToQuasars
Copy link
Contributor

Fixing #150.
What is a bit strange IMHO, is that in the standard the GRAPH keyword seems to be optional for ADD, MOVE, COPY (c.f. https://www.w3.org/TR/sparql11-update/#COPY and https://www.w3.org/TR/sparql11-query/#rGraphOrDefault , ) but not for others e.g. https://www.w3.org/TR/sparql11-update/#DROP ("The GRAPH keyword is used to remove a graph denoted by IRIref, the DEFAULT keyword is used to remove the default graph from the Graph Store").

So I haven't checked yet whether it is possible to preserve the GRAPH, for example, ADD GRAPH <http://example.com/my-graph> TO GRAPH <http://example.com/your-graph> instead of ADD <http://example.com/my-graph> TO <http://example.com/your-graph> . In the current fix it would simply drop the GRAPH keyword in the roundtrip. I guess that may relate to #100 ?

@QuarksToQuasars
Copy link
Contributor Author

Hi @RubenVerborgh . Any thoughts on this?

@RubenVerborgh
Copy link
Owner

Catching up after some health issues, I'll be back soon!

@Ladone3
Copy link

Ladone3 commented May 20, 2022

@RubenVerborgh Hello, did you have a chance to look at this PR?

@RubenVerborgh RubenVerborgh merged commit 2d084c3 into RubenVerborgh:main May 24, 2022
@RubenVerborgh
Copy link
Owner

Super, thank you!

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

Successfully merging this pull request may close these issues.

3 participants