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

Add ontology checks #441

Merged
merged 5 commits into from
Jul 31, 2023
Merged

Add ontology checks #441

merged 5 commits into from
Jul 31, 2023

Conversation

ielis
Copy link
Member

@ielis ielis commented Jul 31, 2023

Perform compatibility checks when loading the MinimalOntology.

The checks include:

  • ensure we have vertices for all subjects and objects of the edges,
  • check that the ontology graph is connected
  • check that the ontology graph is simple - no self loops and no duplicated edges. Note that edges of different types are allowed between the same nodes.

The loader allows opting out of the duplicated edges feature by setting discardDuplicatedRelationships(true) in OntologyLoaderOptions.

ielis added 5 commits July 28, 2023 11:36
Signed-off-by: Daniel Danis <daniel.gordon.danis@protonmail.com>
…y graph.

Signed-off-by: Daniel Danis <daniel.gordon.danis@protonmail.com>
…Ontology`.

Signed-off-by: Daniel Danis <daniel.gordon.danis@protonmail.com>
…e checking.

Signed-off-by: Daniel Danis <daniel.gordon.danis@protonmail.com>
@ielis ielis merged commit 2c3367d into develop Jul 31, 2023
@ielis ielis deleted the add-ontology-checks branch July 31, 2023 19:03
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