ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

allow overriding label of links in annotation properties using rdfs:label

Open jamesamcl opened this issue 6 months ago • 0 comments
trafficstars

CC @dosumis, @hkir-dev

Context:

We are in the process of adding links from ontology terms and individuals generated to related content at the Allen Brain Atlas. [..] It makes no sense to generate OWL entities with labels for these types of links. Would best practice here be to provide a block of hyperlinked text in html? Would that be supported by OLS4? More generally, does OLS4 support other options for turning bare IRIs into hyperlinked text besides making named OWL entities with labels?

This PR provides a simple solution by using the rdfs:label annotation-on-annotation as the label for the link instead of the link href itself.

jamesamcl avatar Apr 24 '25 23:04 jamesamcl