pyhornedowl.model.AnnotationAssertion
- class pyhornedowl.model.AnnotationAssertion(subject: AnnotationSubject, ann: Annotation)
An annotation assertion axiom
States that
annotationapplies to theannotation_subject. Annotations refer to anIRIrather than theNamedOWLEntityidentified by thatIRI.- Parameters:
subject (AnnotationSubject)
ann (Annotation)
- serialize(self, serialization: Literal['ofn', 'omn'] = 'ofn', prefix_mapping: PrefixMapping = None)
Renders this element on its own, in OWL functional (
"ofn", the default) or OWL 2 Manchester ("omn") syntax. The per-element counterpart toPyIndexedOntology.save_to_string.