monarch-initiative / phenio

An integrated ontology for Phenomics
https://monarch-initiative.github.io/phenio/
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Include Biolink categories for relations #70

Open caufieldjh opened 4 months ago

caufieldjh commented 4 months ago

The current process for adding Biolink categories to classes looks like this in the Makefile: https://github.com/monarch-initiative/phenio/blob/7e882424dde9f2a057904b671c56a90239801913/src/ontology/phenio.Makefile#L33C1-L41C44

and that uses this query: https://github.com/monarch-initiative/phenio/blob/7e882424dde9f2a057904b671c56a90239801913/src/sparql/bl-categories.ru#L11C1-L26C2

Can we replicate that process for relations? See https://github.com/monarch-initiative/monarch-app/issues/684

See also #37 , #32 , #22

matentzn commented 4 months ago

As long as I think KGX works the way it does, it should be easy. Instead of INSERTing a triple, you insert a reified statement with a biolink assertion on it. Let me know if you need help.