AnnotationProperty¶
- class pyhornedowl.model.AnnotationProperty(iri: IRI | str | Class | ObjectProperty | DataProperty | AnnotationProperty | NamedIndividual | Datatype)¶
Bases:
objectAn OWL AnnotationProperty is a relationship between a part of an ontology and an
Annotation.The
Annotationdescribes that part of the ontology. It is not part of the description of the world, but a description of the ontology itself.- entity_kind() EntityKind¶
Returns this entity’s kind for the
NamedEntityprotocol.
- serialize(serialization: Literal2['ofn'] | None = None, prefix_mapping: PrefixMapping | None = None) str¶
Renders this element on its own, in OWL functional (
"ofn") syntax. The per-element counterpart toOntology.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.