owlapy.model.OWLDatatype

class owlapy.model.OWLDatatype(iri: Union[owlapy.model.IRI, owlapy.model.HasIRI])[source]

Bases: owlapy.model.OWLEntity, owlapy.model.OWLDataRange

Represents a Datatype (named data range) in the OWL 2 Specification.

Gets an instance of OWLDatatype that has the specified IRI.

Parameters:

iri – The IRI.

Methods

get_iri

Gets the IRI of this object.

is_anonymous

to_string_id

Attributes

type_index

get_iri()owlapy.model.IRI[source]

Gets the IRI of this object.

Returns:

The IRI of this object

is_anonymous()bool
to_string_id()str
type_index: Final = 4001