pyhornedowl.model.NegativeObjectPropertyAssertion
- class pyhornedowl.model.NegativeObjectPropertyAssertion(ope: ObjectPropertyExpression, source: Individual, target: Individual)
A negative object property assertion.
Individual
fromis not connectedtobyopeSee also: Negative Object Property Assertions
- Parameters:
ope (ObjectPropertyExpression)
source (Individual)
target (Individual)
- 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.