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 - add INSERT and DELETE support for SPARQL Update #509

Open
bplatz opened this issue Jun 15, 2023 · 0 comments
Open

SPARQL - add INSERT and DELETE support for SPARQL Update #509

bplatz opened this issue Jun 15, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@bplatz
Copy link
Contributor

bplatz commented Jun 15, 2023

Now that we support insert and delete in FlureeQL, we can translate the corresponding SPARQL syntax into it:

This SPARQL update statment:

DELETE { ?person <http://xmlns.com/foaf/0.1/givenName> 'Bill' }
INSERT { ?person <http://xmlns.com/foaf/0.1/givenName> 'William' }
WHERE
  { 
    ?person <http://xmlns.com/foaf/0.1/givenName> 'Bill'
  } 

Should parse to this FlureeQL:

{:delete ["?person" "http://xmlns.com/foaf/0.1/givenName" "Bill"]
 :insert ["?person" "http://xmlns.com/foaf/0.1/givenName" "William"]
 :where  [["?person" "http://xmlns.com/foaf/0.1/givenName" "Bill"]]}
@bplatz bplatz added the enhancement New feature or request label Jun 15, 2023
@bplatz bplatz added this to the 3.0.0-beta2 milestone Jun 15, 2023
@bplatz bplatz changed the title SPARQL - add INSERT and DELETE support for SPARLQ Update SPARQL - add INSERT and DELETE support for SPARQL Update Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant