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

Implement N3-Patch format #1252

Open
srosset81 opened this issue May 22, 2024 · 1 comment
Open

Implement N3-Patch format #1252

srosset81 opened this issue May 22, 2024 · 1 comment
Milestone

Comments

@srosset81
Copy link
Contributor

srosset81 commented May 22, 2024

https://solidproject.org/TR/protocol#writing-resources

@lecoqlibre is working on a library that will take as an input the original resource and the N3 Patch request, and return the patched resource. And throw errors if there is something wrong with the N3 Patch request.

However it would be better if we could convert the N3 Patch to a SPARQL query to run directly on the triple store (with DELETE/INSERT queries). Because there is always the risk with PUT operation of erasing some data that has been stored.

Also see:
https://github.com/CommunitySolidServer/CommunitySolidServer/blob/main/src/storage/patch/N3Patcher.ts

We should keep on supporting the Sparql-Patch format, but maybe put the code in a different library.

@srosset81
Copy link
Contributor Author

Warning: there are some problems with N3 patch

solid/specification#704
CommunitySolidServer/CommunitySolidServer#1968

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

No branches or pull requests

1 participant