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

unsats #16

Open
shawntanzk opened this issue Mar 9, 2022 · 9 comments
Open

unsats #16

shawntanzk opened this issue Mar 9, 2022 · 9 comments
Assignees

Comments

@shawntanzk
Copy link
Collaborator

Looks like unsats are a bit more complicated
will try using robot explain to figure out some stuff
tagging @dosumis

  1. no unsats in uberon_slice.owl
  2. no unsats in sources_merged.owl
  3. unsats when merged the above two
sh run.sh robot merge --input uberon_slice.owl --input sources_merged.owl --output tmp.owl
sh run.sh robot explain -i tmp.owl -M unsatisfiability --unsatisfiable random:10 --explanation unsats.md

olfactory tubercle SubClassOf Nothing

uncinate fasciculus SubClassOf Nothing

taenia tectum SubClassOf Nothing

posterior commissure SubClassOf Nothing

islands of Calleja SubClassOf Nothing

scattered islands of Calleja SubClassOf Nothing

optic tract SubClassOf Nothing

major island of Calleja SubClassOf Nothing

olfactory bulb SubClassOf Nothing

indusium griseum SubClassOf Nothing

Axiom Impact

Axioms used 9 times

Axioms used 7 times

Axioms used 4 times

Axioms used 3 times

Axioms used 2 times

Axioms used 1 times

@shawntanzk
Copy link
Collaborator Author

wierdly enough when i run
sh run.sh robot explain --input tmp.owl --reasoner ELK --axiom "hindbrain SubClassOf 'part of' some brainstem" --explanation hindbrain-brainstem.md
theres no explanation, not sure where we found that, cause i cant replicate it with aba_uberon too

@shawntanzk
Copy link
Collaborator Author

shawntanzk commented Mar 9, 2022

uncinate fasciculus unsat fixed in uberon

See details here [uncinate fasciculus](http://purl.obolibrary.org/obo/UBERON_0003044) SubClassOf [part_of](http://purl.obolibrary.org/obo/BFO_0000050) some [pontine tegmentum](http://purl.obolibrary.org/obo/UBERON_0003023) seems wrong

Uncinate fasciculus definition - "Pathway arising from the fastigial nucleus to the vestibular nuclei, reticular formation, motor neurons of brainstem and cervical spinal cord"
but has "part of" pontine tegmentum - which has part of some pons

seems like a legit uberon issue, not sure why this didnt get picked up with uberon? does uberon not have the disjoint Nothing EquivalentTo (part_of some forebrain) and (part_of some brainstem)?

@shawntanzk
Copy link
Collaborator Author

posterior commissure SubClassOf Nothing

error coming from uberon and dhba classifying it differently:

DHBA:
posterior commissure SubClassOf part_of some white matter of midbrain

UBERON:
posterior commissure SubClassOf part_of some diencephalic white matter

On research, hard to say which is actually correct given the commissure connects midbrain and diencephalon structures

@shawntanzk
Copy link
Collaborator Author

Olfactory bulb:

I think this is the issue:
white matter SubClassOf part_of some neocortex

I'm guessing that there is white matter in the allocortex too

but also this seems wrong:
olfactory bulb, left SubClassOf part_of some olfactory nerve, left

@dosumis
Copy link
Contributor

dosumis commented Mar 10, 2022

Thinking about this - these inconsistencies must be coming from a clash between the partonomy coming from JSON and spatial disjointness axioms in Uberon expressed above as

Nothing EquivalentTo (part_of some forebrain) and (part_of some brainstem) [uberon.owl]

(I have a vague recollection of having been through this last time I worked on this. Or maybe I was using a version of Uberon that lacked the spatial disjointness.)

I think we need to
(a) strip out disjoints for now so that we can generate accurate reports for review.
(b) Slowly chip away at the reasons for these inconsistencies. They are, I think, likely to indicate that some relationships in ABA JSON files should not be mapped to part_of.

We could also use the approach we developed for HubMap - using UberGraph queries to test the validity and type of each relationship. This would be a lot more work though, so we'd need to consider carefully if we want to take it on.

Note - for ease of reviewing, maybe we should use longer display names for the ABA terms by including species in brackets. The inconsistency reports above are confusing because it's hard to tell ABA and Uberon terms apart - many have the same names.

@dosumis
Copy link
Contributor

dosumis commented Mar 10, 2022

These are good examples I think

white matter SubClassOf part_of some neocortex

I'm guessing that there is white matter in the allocortex too

-> overlaps , or we make the term PBA_294022044 'white matter of neocortex'

but also this seems wrong:
olfactory bulb, left SubClassOf part_of some olfactory nerve, left

part_of -> connected_to ?

@shawntanzk
Copy link
Collaborator Author

(a) strip out disjoints for now so that we can generate accurate reports for review.

will do this for now

(b) Slowly chip away at the reasons for these inconsistencies. They are, I think, likely to indicate that some relationships in ABA JSON files should not be mapped to part_of.

This sound a bit too fun and things we can spend too many hours puzzle-solving :p

@dosumis
Copy link
Contributor

dosumis commented Mar 10, 2022

Another good example

uncinate fasciculus SubClassOf part_of some pontine tegmentum
seems wrong

Uncinate fasciculus definition - "Pathway arising from the fastigial nucleus to the vestibular nuclei, reticular formation, motor neurons of brainstem and cervical spinal cord"
but has "part of" pontine tegmentum - which has part of some pons

seems like a legit uberon issue, not sure why this didnt get picked up with uberon? does uberon not have the disjoint Nothing EquivalentTo (part_of some forebrain) and (part_of some brainstem)?

->
uncinate fasciculus SubClassOf overlaps some pontine tegmentum

Also we should add the spatial disjointness axiom to Uberon if it's missing.

@dosumis
Copy link
Contributor

dosumis commented Mar 10, 2022

These kinds of issues are inevitable in a hierarchy built for annotating an atlas.

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

No branches or pull requests

2 participants