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

Add new bone length from to DOSDP pattern template #75

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Conversation

rays22
Copy link
Contributor

@rays22 rays22 commented Mar 17, 2022

If applied, this commit will fix #73.

If applied, this commit will fix #73.
@rays22 rays22 self-assigned this Mar 17, 2022
If applied, this commit will fix #73.
@rays22 rays22 marked this pull request as draft March 21, 2022 18:54
Add multiple subClassOf axioms under the logical_axioms property instead of using one multi_clause axiom.
If applied, this commit will fix #73.
Copy link
Contributor

@dosumis dosumis left a comment

Choose a reason for hiding this comment

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

Good but please add var and specification for xrefs on definition (see comment)

src/patterns/dosdp-patterns/bone_length_from_to.yaml Outdated Show resolved Hide resolved
src/patterns/dosdp-patterns/bone_length_from_to.yaml Outdated Show resolved Hide resolved
Copy link
Collaborator

@meghalithic meghalithic left a comment

Choose a reason for hiding this comment

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

I made comments on the def and adding another annotation

@meghalithic
Copy link
Collaborator

is there a way to change the label if needed? If so, what column would that be?

@rays22
Copy link
Contributor Author

rays22 commented Mar 30, 2022

is there a way to change the label if needed? If so, what column would that be?

Yes, you can override the automatic label. It think it is the defined_class_name column in your .tsv.

@meghalithic
Copy link
Collaborator

great, can we add that to the template?

@meghalithic
Copy link
Collaborator

@rays22 why is this failing?

@meghalithic
Copy link
Collaborator

@rays22 what is left to do on this?

meghalithic and others added 4 commits July 28, 2022 09:06
clarifying subclasses
modifying definition
to help annotate definitions with external references.

Addresses #73.
@rays22 rays22 marked this pull request as ready for review August 19, 2022 18:33
@rays22 rays22 requested review from matentzn and meghalithic and removed request for meghalithic August 19, 2022 19:36
equivalentTo:
text: "'length' and ('characteristic_of' some ('part_of' some %s))"
# if part of a bone [e.g., 'distalmost' ('part of' some humerus)]
# NOTE: Everything is part of itself.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It turns out that BFO:0000050 part of is actually not reflexive. You can check it by opening ro.owl in Protege and checking the Characteristics' pane in the 'Object Properties' tab.

Copy link
Collaborator

Choose a reason for hiding this comment

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

should we use "characteristic of part of"?

Copy link
Contributor

Choose a reason for hiding this comment

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

"characteristic of part of" would cover the whole and all parts

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah, so what should I use for just part of it if that part of the bone (e.g., distal side of a talus) isn't in the ontology?

Copy link
Contributor

Choose a reason for hiding this comment

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

For that case the solution here is ok! But you may have to create a pattern for "side" of "anatomy" if non exists. But for the case you just want to express: some part of the thalamus (distal side or otherwise), the solution we already have is sufficient.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, it would have to be:

length and characteristic of some (calcaneus and (part of some distal side))

Or some such. i don't know whether part of is the correct relationship. To determine this you will have to ask in Uberon slack. Basically just "can i use part of to connect an anatomical entity to a region like 'distal side'?"

Copy link
Collaborator

Choose a reason for hiding this comment

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

based on how distal epiphyses are defined, it'd be: length and characteristic of some (in distal side some calcaneus)

do I ask UBERON or OBA?

Copy link
Contributor

Choose a reason for hiding this comment

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

definitely OBA!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I will add to the agenda to discuss. I am struggling to explain over chat.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I misunderstood your question. Uberon. You need to make an issue on Uberon tracker asking for the term:

  • (in distal side some calcaneus)

Linking to this issue here, and asking for advice on how to logically define it. You can say that the issue has emerged because @cmungall does not like the complex composition in OBA (not sure I share his views here, but lets roll with it).

What should happen: someone saying: you can define in distal side some calcaneus using XYZ logical definition, then creating a dosdp pattern for it. You can then just add a row in the table for each such term you need. Ping me if you get grieve from @dosumis or @shawntanzk about the request (term proliferation argument).

@cmungall
Copy link
Member

cmungall commented Sep 7, 2022 via email

@matentzn
Copy link
Contributor

matentzn commented Sep 7, 2022

Of course the issue here is that the whole exactly should not classify under this, only the parts!

@meghalithic
Copy link
Collaborator

@rays22 I updated the pattern. Can we meet to test the pattern?

This commit intends to
1. add DOS-DP data filler
2. update DOS-DP yaml template
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.

Add draft pattern for bone length from to
5 participants