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

Turn disjoint_union_over into a proper ODK component #3185

Merged
merged 5 commits into from
Jan 17, 2024

Conversation

gouttegd
Copy link
Collaborator

This PR:

  • rename src/ontology/components/disjoint_union_over.ofn to src/ontology/components/disjoint_union_over.owl, both for consistency with other components in OWL functional syntax that use a .owl extension and for alignment with the ontology IRI within that file;
  • import that file into the -edit file, so that its axioms are explicitly visible to editors (e.g. from Protégé) instead of only appearing in the uberon.owl release product;
  • declare that file as a proper ODK component, so that it is merged in all release products instead of being explicitly merged only in uberon.owl.

closes #3180

Rename the `disjoint_union_over` component to give it a `.owl`
extension. Other components written in OWL functional syntax uses the
`.owl` extension, no reason to single that component out. The ontology
IRI inside that component is itself using a `.owl` extension, so let's
align the filename with the IRI.
We import the disjoint_over_union component into the -edit file, so that
the axioms it contains are visible from editors when they work on the
ontology (e.g. from Protégé).
Declare 'components/disjoint_union_over.owl' as a ODK-managed component.
Do not explicitly merge it in the OWLSRC preprocessing step (it will
still be merged at this point, because it is imported in the -edit
file).
@gouttegd gouttegd self-assigned this Jan 17, 2024
The declared ontology IRI of the disjoint_union_over component must
match the IRI of the import declaration, otherwise Protégé will not load
the component properly.
Copy link
Contributor

@matentzn matentzn left a comment

Choose a reason for hiding this comment

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

Looks great!

@gouttegd gouttegd merged commit 632c46c into master Jan 17, 2024
1 check passed
@gouttegd gouttegd deleted the componentize-disjoint_union_over branch January 17, 2024 16:29
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.

disjoint_over_union.ofn should be a proper ODK component
3 participants