owlapy.owl_individual
OWL Individuals
Classes
Represents a named or anonymous individual. |
|
Named individuals are identified using an IRI. Since they are given an IRI, named individuals are entities. |
Module Contents
- class owlapy.owl_individual.OWLIndividual[source]
Bases:
owlapy.owl_object.OWLObject
Represents a named or anonymous individual.
- __slots__ = ()
- class owlapy.owl_individual.OWLNamedIndividual(iri: owlapy.iri.IRI | str)[source]
Bases:
OWLIndividual
,owlapy.owl_object.OWLEntity
Named individuals are identified using an IRI. Since they are given an IRI, named individuals are entities. IRIs from the reserved vocabulary must not be used to identify named individuals in an OWL 2 DL ontology.
(https://www.w3.org/TR/owl2-syntax/#Named_Individuals)
- __slots__ = '_iri'
- type_index: Final = 1005
- property iri: owlapy.iri.IRI
Gets the IRI of this object.
- Returns:
The IRI of this object.
- property str
Gets the string representation of this object
- Returns:
The IRI as string
- property reminder