You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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.
The text was updated successfully, but these errors were encountered: