NegativeDataPropertyAssertion

class NegativeDataPropertyAssertion(data_property_expression: DataPropertyExpression | URIRef | Reference | Referenced | str | IdentifierBox, source_individual: URIRef | Reference | Referenced | str | IdentifierBox, target: URIRef | Reference | Referenced | str | IdentifierBox | LiteralBox | Literal | int | float | bool | date | datetime | OBOLiteral, *, annotations: list[Annotation] | None = None)[source]

Bases: _BaseDataPropertyAssertion

An axiom for 9.6.7 “Negative Data Property Assertions”.

>>> NegativeDataPropertyAssertion("a:hasAge", "a:Meg", 5)

Initialize a data property assertion axiom.

Methods Summary

to_rdflib_node(graph, converter)

Represent the negative data property assertion axiom for RDF.

Methods Documentation

to_rdflib_node(graph: Graph, converter: Converter) IdentifiedNode[source]

Represent the negative data property assertion axiom for RDF.