DataPropertyAssertion
- class DataPropertyAssertion(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.6 “Positive Data Property Assertions”.
>>> DataPropertyAssertion("a:hasAge", "a:Meg", 17)
Initialize a data property assertion axiom.
Methods Summary
to_rdflib_node
(graph, converter)Represent the positive data property assertion axiom for RDF.
Methods Documentation