ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

Display IRIs as CURIEs

Open jamesamcl opened this issue 2 years ago • 1 comments
trafficstars

We can use a combination of the base_uri and preferredPrefix configurations (for IRIs inside OLS) and bioregistry (for IRIs outside of OLS) to do this.

jamesamcl avatar Feb 26 '23 13:02 jamesamcl

Come to think of it, this won't be especially useful for intra-OLS links because they already should have labels, in which case the label - which I believe falls back to being a CURIE anyway - would be displayed. Probably only useful for bioregistry.

There's a side issue of terminologies from the RDF, RDFS, and OWL specs, which we don't currently map to anything and therefore display the full IRI. fixed

jamesamcl avatar Feb 27 '23 00:02 jamesamcl