-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Question: Can I configure the PURL to redirect to a curie based IRI? #530
Comments
Yes. The default is to redirect term IDs to Ontobee, but several projects choose a different term browser:
You're free to redirect these where you like, but please be extra careful when modifying |
Awesome, thanks @jamesaoverton Will check with HP folks to see what they think. |
Should we have a more general solution for this? (I had mistakenly assumed the redirect was based on the part after the If we tackle this now it will save us a lot of work later. We have a large community of ontologies that have always been in OBO but have not been OWL aware, and hence not PURL aware, as everyone outside the semweb/OWL community use IDs/CURIEs. Many probably have no idea what ontobee is. But as Nico trains up multiple groups they will become PURL aware and see their official class URIs go to ontobee, and that ontobee is not biologist-friendly and (most importantly) frequently out of date. Maybe switching to OLS (which is easy with the current system) will be a perfectly good stopgap for a while, but I suspect many will want a redirect to their own database, which will assume prefixed IDs. I think in some cases (e.g. HPO) they have the developer resources to support the OBO fragment but in other cases it will be surprisingly difficult to get this changed. How about adding an optional field that specifies that the CURIE local part will be used in constructing the URL, e.g.:
i.e. for PR_nnnnnnnn, then nnnnnnnn would be used This will be a one time change in the code, rather than What this predicted migration away from ontobee will mean for the original semantic web vision of PURLs that are resolvable to RDF using the 2-in-1 model is another issue.... |
My suggestion is to replace this chunk of
by modifying the
So instead of This should cover most of the custom term browsers defined in |
Hey all! Are there any updates on which solution I should go for in the short term? At least for HPO it would be nice if I could solve this issue soonish.. |
In the short term, I suggest using the existing solution that I described above (June 14). |
Also a potential solution here: #536 |
For example, I would like:
http://purl.obolibrary.org/obo/HP_0002088
to redirect here:
https://hpo.jax.org/app/browse/term/HP:0002088
The text was updated successfully, but these errors were encountered: