pyhornedowl.model.DataProperty
- class pyhornedowl.model.DataProperty(first: IRI)
An OWL DataProperty is a relationship between part of an ontology and some concrete information.
- Parameters:
first (IRI)
- 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.