biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
120 stars 30 forks source link

handling multiple rdfs labels #510

Open goodb opened 3 years ago

goodb commented 3 years ago

I'm using OntoBio to process the Cell Line Ontology. This ontology attaches multiple rdfs:label annotations to classes. In many cases one label will be in Chinese and one will be in English. OntoBio defaults to the Chinese label and I would like to access the English label (and any other labels in the set). Is this possible in OntoBio ?

Example term http://purl.obolibrary.org/obo/CLO_0054358

Screen Shot 2021-01-27 at 1 39 12 PM

If the rdfs:label property could also be added to the basicPropertyValues object, that would work.