pyhornedowl.model.NegativeDataPropertyAssertion

class pyhornedowl.model.NegativeDataPropertyAssertion(dp: DataProperty, source: Individual, target: Literal)

A negative data property assertion.

Individual from is not connected to literal by dp.

See also Negative Data Property Assertions

Parameters:
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 to PyIndexedOntology.save_to_string.