Closed caufieldjh closed 2 years ago
FYI in the old monarch ontology, we merged the biolink model itself into phenio and ran a custom sparql query:
https://github.com/monarch-initiative/monarch-ontology/blob/master/Makefile#L88
Not sure this should be the strategy moving forward.
I see some pros and cons to that approach - it would be consistent with the other preprocessing steps to include biolink categories in phenio, but this leaves it unclear which version of the model is being used. The potential to use a modified Monarch-specific version of the model has also come up more than once, so ideally we should have a process in which the desired model version is just specified and applied (and perhaps this is more efficiently done over the graph rather than the OWL).
We see similar issues with KG-OBO: https://github.com/Knowledge-Graph-Hub/kg-obo/issues/111
Maybe the best way is to manually curate top level mappings in an sssom file (bl:phenotype exactMatch UPHENO:123) merge that into phenio and then propagate the bl categories using sparql update dynamically..
So the current plan is to attack this on multiple fronts:
This sounds perfect to my ears as well!
Fixed in build 20220930
We really would like to have Biolink node categories in KG-Phenio, but right now even the types KGX is capable of assigning categories to aren't getting them:
So there should be some categories for nodes.
Barring KGX assignment, these can be mapped by prefix.