ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

fix(LabelAnnotator): Added code to clear the default properties if properties are defined in the config file.

Open rombaum opened this issue 9 months ago • 1 comments
trafficstars

I fixed the issue https://github.com/EBISPOT/ols4/issues/853 by adding a line to the corresponding Java class LabelAnnotator. As an test I indexed two ontologies. For RadLex I used the following line at the config file for the label "label_property": [ "http://radlex.org/RID/Preferred_name"] . For the second ontology I didn't defined any property for the label in the config file. For RadLex http://radlex.org/RID/Preferred_name was used and for the other ontology the default property rdfs:label was used. The indexed ontologies looks as expected. I used in my case just the Plasma Ontology since it is not so huge and I know that it uses rdfs:label for the labels.

Image

Image

rombaum avatar Feb 14 '25 16:02 rombaum