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

Apply relationship inference logic to deletions. #53

Open
lucas42 opened this issue Oct 5, 2020 · 0 comments
Open

Apply relationship inference logic to deletions. #53

lucas42 opened this issue Oct 5, 2020 · 0 comments

Comments

@lucas42
Copy link
Owner

lucas42 commented Oct 5, 2020

At the moment, deleting a relationship only deletes that specific instance. (eg deleting a sibling relationship from Alice to Bob will still leave the relationship from Bob to Alice in place).

Ideally, the inference logic would go through all the relationships which imply the deleted relationship should exist and delete those to prevent inconsistencies.

Complexity
Whilst this is probably easy enough for inverses (and transitive?), it's hard to know what to do for multi-relation inferences.
Suppose a "nibling" relationship is deleted. This suggests that either a corresponding "sibling" relationship or "child" relationship is incorrect. However, there's no way to know for certain which of these to delete, as the other one may be perfectly valid.

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

No branches or pull requests

1 participant