Repository navigation
Fix 4 EquivalentClass axioms causing EFO unsatisfiable classes - #2686
Merged
Merged
Conversation
Closed
- Remove self-equivalence for EFO_0000792 (craniofacial tissue): EquivalentClasses(EFO_0000792 part_of some EFO_0000792) was circular - Fix EFO_0001958 (joint component): add anatomical_structure to intersection was: EquivalentClasses(EFO_0001958 part_of some skeletal_joint) now: EquivalentClasses(EFO_0001958 anatomical_structure AND part_of some skeletal_joint) - Fix EFO_0001986 (lung structure): add anatomical_structure to intersection was: EquivalentClasses(EFO_0001986 part_of some lung) now: EquivalentClasses(EFO_0001986 anatomical_structure AND part_of some lung) - Remove problematic EFO_0003858 (skeleton structure) from this file: EquivalentClasses(EFO_0003858 part_of some skeletal_system) was too broad Correct version (with anatomical_structure AND part_of) already in efo-edit.owl - Add Declaration for UBERON_0000061 (anatomical_structure) needed by intersections Agent-Logs-Url: https://github.com/EBISPOT/efo/sessions/a78282d5-4fed-4763-8222-c04ab0ffaf71 Co-authored-by: aleixpuigb <[email protected]>
Copilot
AI
changed the title
[WIP] Fix EFO unsatisfiable classes root detection
Fix 4 EquivalentClass axioms causing EFO unsatisfiable classes
Apr 29, 2026
aleixpuigb
marked this pull request as ready for review
April 29, 2026 15:32
zoependlington
approved these changes
May 7, 2026
This was referenced Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELK reasoner was producing a large number of unsatisfiable classes (owl:Nothing) due to 4 overly broad
EquivalentClassesaxioms insrc/ontology/components/efo_equivalent_class_axioms.owlthat allowed immaterial entities (anatomical spaces/cavities) to be inferred as material anatomical structures.Root causes and fixes
EFO_0000792 (craniofacial tissue) — Removed self-referential equivalence:
Any entity part_of craniofacial tissue was inferred to BE craniofacial tissue, creating circular reasoning.
EFO_0001958 (joint component) — Added
anatomical_structureto intersection:EFO_0001986 (lung structure) — Same fix: added
anatomical_structure(UBERON_0000061) to the intersection withpart_of some lung.EFO_0003858 (skeleton structure) — Removed the bare
part_of some skeletal_systemequivalence. The correct intersection form (anatomical_structure AND part_of some skeletal_system) already exists inefo-edit.owl; the redundant looser axiom was forcing all entities part of the skeletal system to be material.Without the
anatomical_structure(UBERON_0000061) constraint in the intersection, immaterial entities (cavities, spaces) that are part of a joint/lung/skeleton were being classified as material anatomical structures, producing unsats.Added
Declaration(Class(obo:UBERON_0000061))to the component file's declarations section.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.ebi.ac.uk/usr/bin/java java -jar tools/robot.jar query --input /tmp/efo-reasoned-test.owl --query /tmp/unsats.sparql /tmp/unsats.tsv(dns block)/usr/bin/java java -jar tools/robot.jar query -i /tmp/efo-reasoned-test.owl -q /tmp/unsats.sparql /tmp/unsats.tsv(dns block)If you need me to access, download, or install something from one of these locations, you can either: