pyhornedowl.model.AnnotatedComponent

class pyhornedowl.model.AnnotatedComponent(component: Component, ann: Set[Annotation])

An AnnotatedComponent is an Component with one or more Annotation.

Parameters:
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 to PyIndexedOntology.save_to_string.