assemblee-virtuelle / assemblee-virtuelle/semapps
Implement N3-Patch format
- Dominant language
- TypeScript
- Stars
- 103
- Forks
- 14
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the N3 Patch protocol section and the referenced CommunitySolidServer src/storage/patch/N3Patcher.ts. Then locate SemApps' existing Sparql-Patch support and determine how storage adapters execute updates. Done means defining the conversion and error behavior, preserving Sparql-Patch support, and adding tests for valid and invalid N3-Patch requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- backend-api-design, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100