Skip to content

Fix issue 347 - deprecate and merge duplicate term - #527

Open
terencetan-c wants to merge 1 commit into
pan-ontologies:masterfrom
terencetan-c:issue-347-duplicate-term
Open

terencetan-c wants to merge 1 commit into
pan-ontologies:masterfrom
terencetan-c:issue-347-duplicate-term

Conversation

@terencetan-c

Copy link
Copy Markdown
Collaborator

Motivation

PaNET01107 and PaNET01273 are duplicate terms.

Modification

Added four new columns: Deprecated, Replaced by, Obsoletion reason, Comment.

Deprecated PaNET01107 and merged it with PaNET01273. The Obsoletion reason is given by the term:
http://purl.obolibrary.org/obo/IAO_0000227

A natural language string for the comment explaining the duplicate issue.

Result

PaNET01107 is now deprecated and PaNET01273 is no longer a duplicate.

This is the output of the ROBOT diff function:
compare.txt

The taxonomy remained unchanged.

Related Issues

fixes #347

Deprecated PaNET01107 and merged it wirh PaNET01273 as they are duplicate concepts.

Added four new columns: Deprecated, Replaced by, Obsoletion reason, Comment.

Fixes issue pan-ontologies#347
@kara-mela

kara-mela commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

I think having the four new columns solves the issue of handling obsolete terms in general.
I have some concerns and recommendations

  • Maybe we should have two individual patches, instead of one
    1. providing the four new columns to mark terms as obsolete (robot diff would see no differences, I guess)
    2. actually resolving the duplicate terms (causing actual changes to the ontology)
    • This would help to disentangle the general process from concrete examples and simplify potential reversion.
  • Step i. should also include updating PaNET_metadata.ttl and adding the labels for the new columns there, see Add labels for definition, version and alternative label to PaNET_metadata.ttl #504.
  • Should we update the labels when marking a term as obsolete to make it obvious? Maybe not everybody checks all the details. This would make it obvious. For example: inelastic small angle scattering-based techniques (obsolete)
    • If we decide to do this, should this be also done for the altLabels?
  • Step ii. (edited)
    • Add all labels and altLabels from the obsolete term the term that we keep.
    • Current recommendations for retiring a term: remove all relationships of the retired term

@thamnos

thamnos commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

I would not change the label to "inelastic small angle scattering (obsolete)" since my understanding is the following:

We (or rather, you) discovered that there are two entries in PaNET that appear to describe the same technique, "inelastic small angle scattering" and "small angle inelastic scattering". These refer to the same thing and should be represented by only one ID in PaNET. Both seem to be valid names for this technique though, and we are not judging that the community should call it one over the other. So the label itself is fine (not obsolete), it should just be equivalent to the same PaNET ID as "small angle inelastic scattering".

@kara-mela

Copy link
Copy Markdown
Collaborator

Thanks for your feedback. I fully agree that the same thing should only be represented by one PaNET ID. Therefore, we want to retire one of them. However, the current solution would "remove" some valid labels from PaNET, which we clearly don't want. Therefore, I recommend to add all labels and altLabels from the obsolete term the term that we keep.

Additionally, the current recommendations for retiring a term state that all relationships of the retired term should be removed.

For the sake of overview for others I will add these two point to my first comment.

This branch has not been deployed

No deployments
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.

Duplicate Term: small angle inelastic scattering

3 participants