Repository navigation
Commit a66a8f7
committed
Strip BFO continuant/occurrent disjointness before reasoning (VFB2#457)
pip_vfb-pipeline-dumps has been failing construct_all.owl since build #872
with 'The ontology is inconsistent' under ELK. One of the mechanisms (the
other is a separate FBbt laterality curation issue, tracked separately on
VFB2#457): scRNAseq Clustering individuals assert 'has_part' to their Assay
(vfb-scRNAseq-ontology's schema, unchanged since well before this started
failing). Assay is a BFO occurrent; 'Clustering has_part Assay' is
equivalent to 'Assay part_of Clustering', and once Clustering is inferred
continuant that collides with BFO's DisjointClasses(continuant, part_of
some occurrent) (and its mirror, and the plain continuant/occurrent
disjointness) - both fbbt.owl and vfbext.owl carry their own copy of these
axioms via their bundled BFO/RO import closure, and both get merged into
all.ttl.
vfb-scRNAseq-ontology's schema can't easily change without touching the
TSV-building scripts, and that ontology is being migrated to
VirtualFlyBrain/vfb-scRNAseq anyway, where the real fix belongs. As a
stopgap to get builds passing again, strip the three continuant/occurrent
disjointness axioms from the merged all.ttl right before reasoning, in the
construct_all.owl rule:
robot merge -i all.ttl remove --term BFO:0000002 --term BFO:0000003 --axioms DisjointClasses --preserve-structure false reason --reasoner ELK ...
Verified with robot merge+reason (ELK) against a minimal reproducer (one
scRNAseq dataset file's individual assertions + the BFO/RO axioms that
trip this): the full construct_all.owl command chain (merge, reason with
the same axiom-generators/relax/reduce/annotate/convert steps used here)
reproduces 'The ontology is inconsistent' without this remove step, and
completes cleanly with it.
This only removes the continuant/occurrent disjointness - no other
DisjointClasses axioms are touched. Temporary: revert once the scRNAseq
migration lands a real fix.
Refs VirtualFlyBrain/VFB2#457.1 parent e279607 commit a66a8f7
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
98 | 113 | | |
99 | 114 | | |
100 | 115 | | |
101 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
102 | 119 | | |
103 | 120 | | |
104 | 121 | | |
| |||
0 commit comments