Re: How to access ontology annotations
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/How-to-access-ontology-annotations-tp2527p2536.html
Hi,
You can access or modify ontology annotation via the "ontology.metadata" pseudo-object, for example to add a comment:
onto.metadata.comment.append("xxx")
(NB onto.abstract searches for an entity named "abstract" in the ontology, thus it cannot be used for accessing annotations).
Jiba