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

Obsolete and merge a handful of redundant terms #3196

Closed
wants to merge 10 commits into from

Conversation

The terms 'optic eminence surface ectoderm' and 'optic eminence
ectoderm' appear to refer to the same concept, so we obsolete the former
and merge it into the latter.

closes #3156
The terms 'vitelline venous plexus' and 'venous vitelline plexus' are
completely identifical except for the order of adjectives in the label.
We obsolete the former and merge it into the latter.

closes #3157
The term 'thymus subunit' is redundant with 'thymus lobe', so we
obsolete it and replace it with 'thymus lobe'.

closes #3158
The terms 'gland of anal sac' and 'gland of anal canal' seem to refer to
the same thing. They both cross-reference the same Wikipedia page, the
same NCIT and UMLS terms, and have both 'anal gland' as related synonym.

We obsolete the former and merge it into the latter.

closes #3159
The term 'telencephalic tracts' was created as a generalised version of
the ZFA term 'telencephalic white matter' (defined as "CNS white matter
that is part of the telencephalon"). It seems redundant with 'white
matter of telencephalon' (defined as "a portion of white matter that is
part of a telencephalon").

We obsolete 'telencephalic tracts' and merge it with 'white matter of
telencephalon'.

closes #3160
The term 'common crus' was created as a generalised version of the
eponym ZFA term (defined as the "duct that forms when the nonampullary
ends of the posterior and anterior semicircular canals merge"). It seems
redundant with 'common crus of semicircular ducts' (defined as "a
nonampullary end of the superior or posterior semicircular ducts").
There does not seem to be any other "common crus" than those of the
semicircular ducts.

We obsolete 'common crus' and merge it into 'common crus of semicircular
ducts'.

closes #3161
@gouttegd gouttegd requested a review from anitacaron as a code owner January 29, 2024 16:15
@gouttegd gouttegd self-assigned this Jan 29, 2024
@aleixpuigb aleixpuigb self-requested a review February 13, 2024 15:22
Copy link
Collaborator

@aleixpuigb aleixpuigb left a comment

Choose a reason for hiding this comment

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

Please, see inline comments.
The instructions in obo academy on obsoleting terms do not ask to introduce URL in replaced_by as IRI, I need to edit it and create a ticket to change all incorrect of obsoleted terms in Uberon, similar to CL.

relationship: part_of UBERON:0005234 {is_inferred="true", source="https://github.com/obophenotype/uberon/wiki/Inferring-part-of-relationships"} ! optic eminence ectoderm
name: obsolete optic eminence surface ectoderm
comment: Obsoleted because it is redundant with 'optic eminence ectoderm'.
property_value: term_tracker_item "https://github.com/obophenotype/uberon/issues/3156" xsd:anyURI
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, change the format of this URL to IRI

Copy link
Collaborator Author

@gouttegd gouttegd Feb 14, 2024

Choose a reason for hiding this comment

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

Doing so results in the annotation being interpreted as a relationship, which violates one of the CI checks that tries to enforce that an obsolete term should have no relationships.

Who decided that the value of term_tracker_item should be an IRI anyway, and why was the tech group not consulted? This is going to be an issue for any ontology that uses the OBO format as its edit format.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Who decided that the value of term_tracker_item should be an IRI anyway, and why was the tech group not consulted? This is going to be an issue for any ontology that uses the OBO format as its edit format.

Hi @anitacaron, could you provide more background on this, please?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Correction: This may not be an issue for “any ontology that uses the OBO format” – merely for those that do the same kind of CI checks as Uberon.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Technically, we want to ensure only URLs are added in term_tracker_item. But I agree that the issue is in the OBO Format.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

And what is the problem with storing URLs as literal URLs (xsd:anyURI)? Why insisting that they should be IRIs?

Copy link
Collaborator Author

@gouttegd gouttegd Feb 15, 2024

Choose a reason for hiding this comment

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

In any case, either “we” drop this requirement that term_tracker_item should be IRIs, or “we” need to either:

  • update our CI checks to make an exception that obsolete terms can have term_tracker_item relationships,
  • update the OBO parser in the OWL API to stop interpreting IRI-valued annotations as relationships.

Copy link
Member

Choose a reason for hiding this comment

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

All of the existing values for term_tracker_item in Uberon seem to be xsd:anyURI.

src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
src/ontology/uberon-edit.obo Show resolved Hide resolved
The “standard” for IAO:0000233 annotations is reportedly for the values
to be represented as IRIs rather than literal URIs.
Term UBERON:0004760 is labelled as "gland of anal canal", so it does not
need an exact synonym of "gland of anal canal" -- this is probably a
remnant of a time where the term had another label.
@aleixpuigb
Copy link
Collaborator

Apologies for asking to change the format, it was a mistake from my part. Could you revert the commit, so this PR can be merged before the next release?

@gouttegd
Copy link
Collaborator Author

gouttegd commented Feb 16, 2024

I’ve pushed a new clean PR (same changes but without the 8d21d5f commit) to replace this one.

@gouttegd gouttegd closed this Feb 16, 2024
@anitacaron anitacaron deleted the misc-obsoletions branch March 22, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants