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

Fix some opposite predicates should be inverses #1179

Conversation

vincentvialard
Copy link
Contributor

No description provided.

@@ -1678,8 +1678,6 @@ slots:
- OMIM:has_manifestation
- SNOMED:has_basic_dose_form
- UMLS:RB
annotations:
opposite_of: subclass of
Copy link
Member

Choose a reason for hiding this comment

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

I think subclass of is the opposite of superclass of -- the inverse here would be has superclass but I do see the issue here, where we declare it both the inverse and the opposite. Will fix.

Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't has superclass just another way to say subclass of? I agree with @vincentvialard that this is an inverse situation, not opposite.

Copy link
Member

Choose a reason for hiding this comment

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

I think has superclass and superclass of are basically saying the same thing but in inverse directions.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes but has superclass and subclass of are just synonyms of each other.

Copy link
Member

Choose a reason for hiding this comment

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

practically, I agree with you; in biolink, they are two distinct predicates?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see has superclass in the model; I think I'm just introducing confusion here. :-)

Copy link
Member

Choose a reason for hiding this comment

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

after talking a little more with Jim and the Biolink team today, we'll remove the opposite designation from subclass_of and superclass_of, as well as the inverse.

@sierra-moxon sierra-moxon merged commit 2f5d4ba into biolink:master Nov 30, 2022
@vincentvialard vincentvialard deleted the fix-some-opposite-predicates-should-be-inverses branch November 30, 2022 11:39
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.

3 participants