pyhornedowl.model.AnnotationProperty

class pyhornedowl.model.AnnotationProperty(first: IRI)

An OWL AnnotationProperty is a relationship between a part of an ontology and an Annotation.

The Annotation describes that part of the ontology. It is not part of the description of the world, but a description of the ontology itself.

Parameters:

first (IRI)

serialize(self, serialization: Literal['ofn'] = 'ofn', prefix_mapping: PrefixMapping = None)

Renders this element on its own, in OWL functional ("ofn") syntax. The per-element counterpart to PyIndexedOntology.save_to_string.

horned-owl has no Manchester rendering for this class: Manchester syntax writes it only inside the element that contains it, so "omn" is an error.