owlapy.meta_classes
Meta classes for OWL objects.
Classes
Simple class to access the IRI. |
|
An interface to objects that have a collection of operands. |
|
An interface to objects that have a filler. |
|
An interface to objects that have a cardinality. |
Module Contents
- class owlapy.meta_classes.HasIRI[source]
Simple class to access the IRI.
- __slots__ = ()
- abstract property iri
Gets the IRI of this object.
- Returns:
The IRI of this object.
- class owlapy.meta_classes.HasOperands[source]
Bases:
Generic[_T]An interface to objects that have a collection of operands.
- Parameters:
_T – Operand type.
- __slots__ = ()
- class owlapy.meta_classes.HasFiller[source]
Bases:
Generic[_T]An interface to objects that have a filler.
- Parameters:
_T – Filler type.
- __slots__ = ()
- abstractmethod get_filler() _T[source]
Gets the filler for this restriction. In the case of an object restriction this will be an individual, in the case of a data restriction this will be a constant (data value). For quantified restriction this will be a class expression or a data range.
- Returns:
the value