EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
95 stars 40 forks source link

Can OLS resolve URLs directly? #632

Closed KonradHoeffner closed 1 year ago

KonradHoeffner commented 1 year ago

Is it possible to align the namespace of an ontology with the URL scheme of OLS so that the URLs don't get handled by an additional URL browser component but by OLS itself?

For example, if OLS is installed under https://example.com/ and contains an ontology with the slash namespace https://example.com/ontologies/elefants, is it possible that when someone enters https://example.com/ontologies/elefants/African_Elefant in their browser that this gets handled by OLS?

The current scheme of OLS seems to be https://example.com/ontologies/elefants/terms?iri=https%3A%2F%2Fexample.com%2elefants%2African_Elefant.

henrietteharmse commented 1 year ago

Unfortunately I do not see an easy way achieve this in OLS.

KonradHoeffner commented 1 year ago

Thanks for the quick reply! Then I will investigate whether we can do this with a redirect from our webserver or otherwise use an external RDF browser.