monarch-initiative / mondo

Mondo Disease Ontology
http://obofoundry.org/ontology/mondo
Creative Commons Attribution 4.0 International
225 stars 53 forks source link

Add Monarch App backlinks to Mondo IDs #1217

Open cmungall opened 4 years ago

cmungall commented 4 years ago

OLS or Monarch site? I think the former as the latter will lag. cc @mellybelly

matentzn commented 4 years ago

You mean the default redirect of term IRIs? Like http://purl.obolibrary.org/obo/MONDO_0000001

cmungall commented 4 years ago

correct, the OBO PURLs. We also want to make this prominent in user documentation, to guide people implementing external infrastructure who want to link to MONDO

It would be good to have a linkout mechanism in OLS to link to Monarch from there

matentzn commented 4 years ago

How would the backlink work? Via xref or something else that hardcodes a link to monarch initiative?

cmungall commented 4 years ago

identifiers.org used to give a choice of sites, now it seems to go to a default

there could be a registry of prefixes with expansions. This could be provided in OBO metadata

Or it could be a list of IDs that are submitted to OLS. Like NCBI linkouts

matentzn commented 3 years ago

Need to be discussed in meeting.

joeflack4 commented 2 years ago

@matentzn Agreed. Sorry if you guys are having to discuss these issues a second time w/ Dazhi gone. I've added needs clarification label to this. I have some idea as to how I would do this in OMIM, but I'm not sure where I would go within this codebase to do this work. As for making URLs resolving (if or how), I'm not too sure on that either.

matentzn commented 2 years ago

What needs to happen:

For example, for read an ID:

http://purl.obolibrary.org/obo/MONDO_0000001

and rewrite it and then create a CONSTRUCT query that adds:

https://monarchinitiative.org/disease/MONDO:0007947

Here is an example of a query that does something else, but you can get the picture: https://github.com/monarch-initiative/mondo/blob/master/src/sparql/construct/construct-umls-xrefs-from-ncit.sparql