pyhornedowl.model.DataPropertyAssertion
- class pyhornedowl.model.DataPropertyAssertion(dp: DataProperty, source: Individual, target: Literal)
A data property assertion.
Individual
fromis connectedto:code:` literal by dp.See also: Data Property Assertion
- Parameters:
dp (DataProperty)
source (Individual)
target (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.