pyhornedowl.model.DataHasValue
- class pyhornedowl.model.DataHasValue(dp: DataProperty, l: Literal)
A has-value relationship.
This is the class of individuals,
i, which have the relationshipdpto exactly the literall.See also Value Restriction
- Parameters:
dp (DataProperty)
l (Literal)
- 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.