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

Get rid of partof cycles #314

Merged
merged 10 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/ontology/components/reasoner_axioms.owl

This file was deleted.

11 changes: 7 additions & 4 deletions src/ontology/oba.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,15 @@ $(MIRRORDIR)/lipidmaps.owl: $(TEMPLATEDIR)/lipidmaps.tsv
$(ONT)-full.owl: $(SRC) $(OTHER_SRC)
echo "INFO: Running FULL release, which is customised for OBA."
$(ROBOT) merge --input $< \
merge -i components/reasoner_axioms.owl \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is removing the following axiom:

ReflexiveObjectProperty(<http://purl.obolibrary.org/obo/BFO_0000050>)

Due to the global properties of this statement, we are dropping it.

materialize -T basic_properties.txt \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do this a bit later now.

reason --reasoner ELK --equivalent-classes-allowed all --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
remove --term PR:000000001 \
--term SO:0000252 \
--term SO:0000234 \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We remove a number of asserted equivalent classes forcefully. All three terms have equivalent classes that we are preserving.

reason --reasoner ELK --equivalent-classes-allowed none --exclude-tautologies structural \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only for QC purposes.

relax \
reduce -r ELK \
unmerge -i components/reasoner_axioms.owl \
materialize -T basic_properties.txt \
reduce -r ELK \
$(SHARED_ROBOT_COMMANDS) annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output [email protected] && mv [email protected] $@

# Synonyms are managed on Google Sheets
Expand Down
Loading