owlapy.owl_datatype
OWL Datatype
Classes
Datatypes are entities that refer to sets of data values. Thus, datatypes are analogous to classes, |
Module Contents
- class owlapy.owl_datatype.OWLDatatype(iri: owlapy.iri.IRI | owlapy.meta_classes.HasIRI)[source]
Bases:
owlapy.owl_object.OWLEntity
,owlapy.owl_data_ranges.OWLDataRange
Datatypes are entities that refer to sets of data values. Thus, datatypes are analogous to classes, the main difference being that the former contain data values such as strings and numbers, rather than individuals. Datatypes are a kind of data range, which allows them to be used in restrictions. Each data range is associated with an arity; for datatypes, the arity is always one. The built-in datatype rdfs:Literal denotes any set of data values that contains the union of the value spaces of all datatypes.
(https://www.w3.org/TR/owl2-syntax/#Datatypes)
- __slots__ = '_iri'
- type_index: Final = 4001
- property iri: owlapy.iri.IRI
Gets the IRI of this object.
- Returns:
The IRI of this object.
- property str: str
Gets the string representation of this object
- Returns:
The IRI as string