Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

What subset of SPARQL Update is suited as a minimal requirement for the PATCH method? #4

Open
kjetilk opened this issue Jan 17, 2020 · 3 comments
Labels
HTTP PATCH body SPARQL UPDATE query used as body of HTTP PATCH request

Comments

@kjetilk
Copy link

kjetilk commented Jan 17, 2020

A discussion on this was started in solid/specification#125 . From now, I suggest we take the detailed discussion in the panel, and report back into that issue as appropriate.

@kjetilk
Copy link
Author

kjetilk commented Jan 17, 2020

I think we need to understand the actual queries to see if they can be rewritten as the simplest SPARQL query forms, DELETE DATA and INSERT DATA.

I looked into rdflib, and found that it seems to look to see if a statement has a blank node, and therefore interpretes that as a quad pattern, and so uses a WHERE clause: https://github.com/linkeddata/rdflib.js/blob/master/src/update-manager.ts#L776-L797
The key to understand the requirement is therefore to see to what extent blank nodes are used in updates using rdflib.

@RubenVerborgh RubenVerborgh added the HTTP PATCH body SPARQL UPDATE query used as body of HTTP PATCH request label Jan 17, 2020
@RubenVerborgh
Copy link

Crucial to mention here whether this is in the context of HTTP PATCH, versus when used with a (to be defined) query interface. I would suggest updating the title to change Solid into HTTP PATCH.

@kjetilk kjetilk changed the title What subset of SPARQL Update is suited as a minimal requirement for Solid? What subset of SPARQL Update is suited as a minimal requirement for the PATCH method? Jan 17, 2020
@kjetilk
Copy link
Author

kjetilk commented Jan 17, 2020

Allright!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
HTTP PATCH body SPARQL UPDATE query used as body of HTTP PATCH request
Projects
None yet
Development

No branches or pull requests

2 participants