#002: Add _entities/_reify endpoint for RDF 1.2 annotations #14

Open
asit wants to merge 1 commit from fix/002-reify-endpoint into main
Collaborator

Closes #2

What

Adds the missing POST /_ds/{dataset}/_entities/_reify endpoint.
This was the last unimplemented piece of #002 — the endpoint was
referenced in the entity editor JS but never defined in the backend.

How

  • Handler in src/routes/datasets.rs accepts a Turtle body
  • Uses store.load_from_reader(RdfFormat::Turtle, ...) to persist
    RDF 1.2 quoted triple annotations (StatedTriple / NonStatedTriple / qualifiers)
  • Qualifies dataset name with root/ prefix consistent with other /_ds/ routes

Tests

3 new tests added, 50 total passing.

Closes #2 ## What Adds the missing `POST /_ds/{dataset}/_entities/_reify` endpoint. This was the last unimplemented piece of #002 — the endpoint was referenced in the entity editor JS but never defined in the backend. ## How - Handler in `src/routes/datasets.rs` accepts a Turtle body - Uses `store.load_from_reader(RdfFormat::Turtle, ...)` to persist RDF 1.2 quoted triple annotations (StatedTriple / NonStatedTriple / qualifiers) - Qualifies dataset name with `root/` prefix consistent with other `/_ds/` routes ## Tests 3 new tests added, 50 total passing.
asit self-assigned this 2026-04-30 09:27:08 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/002-reify-endpoint:fix/002-reify-endpoint
git switch fix/002-reify-endpoint

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff fix/002-reify-endpoint
git switch fix/002-reify-endpoint
git rebase main
git switch main
git merge --ff-only fix/002-reify-endpoint
git switch fix/002-reify-endpoint
git rebase main
git switch main
git merge --no-ff fix/002-reify-endpoint
git switch main
git merge --squash fix/002-reify-endpoint
git switch main
git merge --ff-only fix/002-reify-endpoint
git switch main
git merge fix/002-reify-endpoint
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
daniel/concon!14
No description provided.