Closed CarMoreno closed 7 months ago
Hi @althonos 👋 , Have you had a chance to take a look? 😄 Thank you
Hi @CarMoreno, I'll have a look :+1:
Ok so this was actually two bugs in one:
rdf:resource
when extracting the synonym type; so this would work:
<oboInOwl:hasSynonymType>BRAND_NAME</oboInOwl:hasSynonymType>
but not this:
<oboInOwl:hasSynonymType rdf:resource="http://purl.obolibrary.org/obo/chebi/BRAND_NAME"/>
Cataflam
synonym was declared without a synonym type inside the owl:class
element, but then was redeclared as part of its own owl:Axiom
; in that case the previously created Synonym
was updated, but not its type.I'll push a patch release!
It works like a charm! thank you very much 👍
I am using ChEBI Ontology to get synonym type from a compound, however, when I try to use
synonym.type
I am getting None. I found this related issue #12 , and I guess this should not be happening in version2.5.5
because it seems issue was resolved in version1.0.0
I am waiting something like:
However, I am getting
None
for all synonym types.Maybe I am doing something wrong? Thanks for your help