Skip to content

Prevent duplicate reification of edges in addFact#586

Draft
balhoff wants to merge 1 commit intomasterfrom
multiple-reification
Draft

Prevent duplicate reification of edges in addFact#586
balhoff wants to merge 1 commit intomasterfrom
multiple-reification

Conversation

@balhoff
Copy link
Member

@balhoff balhoff commented Mar 10, 2026

When adding an edge (object property assertion), check whether an axiom with the same subject, property, and object already exists. If so, merge the new annotations (evidence) into the existing axiom rather than creating a second reified axiom. The check-then-act is synchronized to prevent a race condition between concurrent requests.

When adding an edge (object property assertion), check whether an axiom
with the same subject, property, and object already exists. If so, merge
the new annotations (evidence) into the existing axiom rather than
creating a second reified axiom. The check-then-act is synchronized to
prevent a race condition between concurrent requests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant