DatatypeRestriction
- class DatatypeRestriction(datatype, pairs)[source]
Bases:
DataRangeA data range defined in 7.5 Datatype Restrictions “.
The following data range contains exactly the integers 5, 6, 7, 8, and 9:
>>> DatatypeRestriction("xsd:integer", [("xsd:minInclusive", 5), ("xsd:maxExclusive", 10)])
Initialize a datatype restriction.
- Parameters:
Methods Summary
Get the inside of the functional OWL tag representing the datatype restriction.
to_rdflib_node(graph, converter)Represent this datatype restriction for RDF.
Methods Documentation