|
I want to be able to programmatically access ontology annotations, so NOT those ascribed to terms/classes or annotation/object/data properties, but those applied to the ontology itself.
I code in python and have become familiar with using owlready2 to access ontology content (e.g. using .classes(), .annotation_properties(), etc, but I can't find how to access ontology annotations.
E.g. I have annotations such as dc:accessRights, dc:isReferencedBy, etc whichare used to annotate/describe the ontology itself. I need to be able to access these (so that I can extract them, translate them and add them back into the ontology file).
Is there a way to do this? I have tried using onto.annotations() and e.g. onto.abstract, but just get "None".
Many thanks!
Jade Hotchkiss
|