DataProperty¶
- class pyhornedowl.model.DataProperty(iri: IRI | str | Class | ObjectProperty | DataProperty | AnnotationProperty | NamedIndividual | Datatype)¶
Bases:
objectAn OWL DataProperty is a relationship between part of an ontology and some concrete information.
- entity_kind() EntityKind¶
Returns this entity’s kind for the
NamedEntityprotocol.
- serialize(serialization: Literal2['ofn', 'omn'] | None = None, prefix_mapping: PrefixMapping | None = None) str¶
Renders this element on its own, in OWL functional (
"ofn", the default) or OWL 2 Manchester ("omn") syntax. The per-element counterpart toOntology.save_to_string.