EBISPOT / ols4

Version 4 of the EMBL-EBI Ontology Lookup Service (OLS)
http://www.ebi.ac.uk/ols4/
Apache License 2.0
44 stars 19 forks source link

Display IRIs as CURIEs #227

Open jamesamcl opened 1 year ago

jamesamcl commented 1 year ago

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 commented 1 year ago

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