Closed turbomam closed 1 year ago
I haven't yet revised the axioms for terms that
Slightly trimmed output from
runoak --input envo.owl tree --down --predicates i biome
I haven't yet revised the axioms for terms that
- assert themselves to be subclasses of 'biome', like 'alpine biome'
- have an equivalence axiom that mentions 'biome' like 'ocean biome'
If there's a class like "alpine ecosystem" one could follow the pattern.
Careful, though: "subtropical grassland" is the ecosystem class rather than the biome class. Not all subtropical grasslands are in a climactic successional state
You can keep the condition axiom on the ecosystem class, so it's inherited by the biome class without affecting the pattern
Thanks @cmungall and @pbuttigieg
I have been reading DOS-DP documentation and experimenting with it in the EnvO repository.
I recall why I added the 'has quality' constraint to some of the new axioms ... without them, there are several classes that share the same parent and therefore the same <SUPERCLASS> and ('participates in' some 'climactic ecological succession')
axiom, and therefore are all asserted to be equivalent classes of one another.
That doesn't pass validation. If you agree that solving #1462 in the near future, and would result in better DOS-DP adherence, could we merge this PR now and make a release?
Hi @turbomam
Let's try it. Try adapting the example I highlighted to conform to the pattern. If it leads to unsatisfiability or equivalence between named classes, post the explanation here. This will likely be indicative of a deeper problem (if it happens)
Thanks. I did try it but didn't share the results. It will cause an error, but yes I should share the results.
This is just from removing the 'has quality' axioms on the subclasses of 'coniferous forest biome' ENVO:01000196
robot --catalog catalog-v001.xml merge --input envo-edit-module-merged.owl \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
relax \
reduce -r ELK \
annotate --ontology-iri http://purl.obolibrary.org/obo/envo/envo-full.owl --version-iri http://purl.obolibrary.org/obo/envo/releases/2023-09-13/envo-full.owl -a owl:versionInfo 2023-09-13\
--output envo-full.owl.tmp.owl && mv envo-full.owl.tmp.owl envo-full.owl
2023-09-13 17:29:58,705 ERROR org.obolibrary.robot.ReasonOperation - Only equivalent classes that have been asserted are allowed. Inferred equivalencies are forbidden. 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000211 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000196 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000196 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000211 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,708 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000196 == http://purl.obolibrary.org/obo/ENVO_01000211
If the issue is the various climate conditions as qualities, this may be fixed by having those as subclasses of a generic (climate condition free ) superclass
The examples you posted are already subclasses of coniferous forest biome, and that class is the only one that needs the pattern axiom, the subclasses will inherit it and can have the climate conditions as quality-based differentiae
cab you post an explanation? via robot explain or protege
On Wed, Sep 13, 2023 at 10:30 AM Mark A. Miller @.***> wrote:
robot --catalog catalog-v001.xml merge --input envo-edit-module-merged.owl reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural relax reduce -r ELK annotate --ontology-iri http://purl.obolibrary.org/obo/envo/envo-full.owl --version-iri http://purl.obolibrary.org/obo/envo/releases/2023-09-13/envo-full.owl -a owl:versionInfo 2023-09-13 --output envo-full.owl.tmp.owl && mv envo-full.owl.tmp.owl envo-full.owl 2023-09-13 17:29:58,705 ERROR org.obolibrary.robot.ReasonOperation - Only equivalent classes that have been asserted are allowed. Inferred equivalencies are forbidden. 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000211 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000196 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000196 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000209 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,707 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000211 == http://purl.obolibrary.org/obo/ENVO_01000250 2023-09-13 17:29:58,708 ERROR org.obolibrary.robot.ReasonOperation - Equivalence: http://purl.obolibrary.org/obo/ENVO_01000196 == http://purl.obolibrary.org/obo/ENVO_01000211
— Reply to this email directly, view it on GitHub https://github.com/EnvironmentOntology/envo/pull/1459#issuecomment-1718038964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMMOO2KS5WFZ37AVS5ZATX2HUTZANCNFSM6AAAAAA4T4TOPI . You are receiving this because you were mentioned.Message ID: @.***>
@cmungall @pbuttigieg: no more 'has quality' axioms in biome definitions, and no more asserted equivalencies.
I don't see how to mark the following request as addressed: https://github.com/EnvironmentOntology/envo/pull/1459#pullrequestreview-1621004997
In any case, I am requesting your re-review please
http://purl.obolibrary.org/obo/envo.owl
file:/Users/cjm/repos/envo/src/envo/envo-edit.owl
http://purl.obolibrary.org/obo/envo.owl
file:/Users/cjm/repos/envo/src/envo/mark.owl
http://purl.obolibrary.org/obo/ENVO_01000197
http://purl.obolibrary.org/obo/ENVO_01000196
http://purl.obolibrary.org/obo/ENVO_01000195
http://purl.obolibrary.org/obo/ENVO_01000177
http://purl.obolibrary.org/obo/ENVO_01000199
http://purl.obolibrary.org/obo/ENVO_01000224
http://purl.obolibrary.org/obo/ENVO_01000198
http://purl.obolibrary.org/obo/ENVO_01000194
http://purl.obolibrary.org/obo/ENVO_01000225
http://purl.obolibrary.org/obo/ENVO_01000191
http://purl.obolibrary.org/obo/ENVO_01000226
http://purl.obolibrary.org/obo/ENVO_01000202
http://purl.obolibrary.org/obo/ENVO_01000193
http://purl.obolibrary.org/obo/ENVO_01000212
http://purl.obolibrary.org/obo/ENVO_01000200
http://purl.obolibrary.org/obo/ENVO_01000210
http://purl.obolibrary.org/obo/ENVO_01000227
http://purl.obolibrary.org/obo/ENVO_01000192
http://purl.obolibrary.org/obo/ENVO_01001798
http://purl.obolibrary.org/obo/ENVO_01000228
1458