DataComplementOf
- class DataComplementOf(data_range: DataRange | URIRef | Reference | Referenced | str | IdentifierBox)[source]
Bases:
DataRange
A data range defined in 7.3 Complement of Data Ranges”.
The following complement data range contains literals that are not positive integers:
>>> DataComplementOf("xsd:positiveInteger")
The following contains all non-zero integers:
>>> DataComplementOf(DataIntersectionOf(["xsd:nonNegativeInteger", "xsd:nonPositiveInteger"]))
Initialize a complement of a data range using another data range.
Methods Summary
Get the inside of the functional OWL tag representing the complement of data range.
to_rdflib_node
(graph, converter)Represent this complement of a data range for RDF.
Methods Documentation