owlapy.model.HasOperands

class owlapy.model.HasOperands[source]

Bases: Generic[owlapy.model._T]

An interface to objects that have a collection of operands.

Parameters:

_T – operand type

Methods

operands

Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.

abstract operands()Iterable[_T][source]

Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.

Returns:

The operands.