pyhornedowl.model.DataAllValuesFrom
- class pyhornedowl.model.DataAllValuesFrom(dp: DataProperty, dr: DataRange)
A universal relationship.
This is the anonymous class of individuals
iwhich if they have a relationshipdpto some data, then that must be of typedr.See also Universal Quantification
- Parameters:
dp (DataProperty)
dr (DataRange)
- 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.