-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bug fix: components/ordo.owl
missing mapping annotations
#485
Comments
@matentzn Mind if I have @twhetzel review my proposed solution and make the call on what the priority should be to fix this? @twhetzel Can you review the problem and my proposed solution and let me update the urgency/priority on the boards if necessary? I've set the priority to 'low', because I don't think we use / intend to use these mapping annotations, though I'm not sure. |
ordo-replace-annotation-based-mappings.ru
brokenordo-replace-annotation-based-mappings.ru
@twhetzel FYI, I looked at this today and here are my thoughts: I started up a PR #499 to address this because I thought it might not be quick, but I no longer think so. The crux of this fix I think is that the SPARQL can be vastly simplified. It had a lot of duplicate matching strings. I think that for each type of token, e.g. I wonder if this can also be done easier with OAK than a sparql update, but we already have a mostly working SPARQL file. Just needs minor tweaking. The part of this which takes the most time is that a lot of obsolete code can now get deleted. This SPARQL query |
ordo-replace-annotation-based-mappings.ru
components/ordo.owl
missing mapping annotations
If when I start work on this again, I can continue from this PR: |
Overview
While working on monarch-initiative/icd11#12, Nico suggested to write a SPARQL query that reads ICD11 xrefs and asserts SKOS exact matches. There actually already was such a file that is supposed to do this,
ordo-replace-annotation-based-mappings.ru
. However, there are noskos
matches annotations incomponents/ordo.owl
, so this is broken.If when I start work on this again, I can continue from this PR:
components/ordo.owl
missing mapping annotations #499Possible causes
a.
obo:ECO_0000218
removed (probably not the cause)The SPARQL file depends on this. Example:
<obo:ECO_0000218 xml:lang="en">E (Exact mapping: the two concepts are equivalent)</obo:ECO_0000218>
. It's not inconfig/properties.txt
, so it gets removed. However, this happens after the SPARQL update happens, so I don't think this is the issue.b. Mapping string has changed
Looks like this is the cause.
What
ordo-replace-annotation-based-mappings.ru
expects:What the Orphanet OWL actually has as of 2024/03:
Possible solutions:
I suggest that we change this:
to this:
And we should do the sam ething with the other codes. I think they are:
- BTNT (
,- NTBT (
,- ND (
The text was updated successfully, but these errors were encountered: