owlapy.model.OWLDataOneOf¶
-
class
owlapy.model.
OWLDataOneOf
(values: Union[owlapy.model.OWLLiteral, Iterable[owlapy.model.OWLLiteral]])[source]¶ Bases:
owlapy.model.OWLDataRange
,owlapy.model.HasOperands
[owlapy.model.OWLLiteral
]Represents DataOneOf in the OWL 2 Specification.
Methods
Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.
Gets the values that are in the oneOf.
Attributes
-
is_anonymous
() → bool¶
-
operands
() → Iterable[owlapy.model.OWLLiteral][source]¶ Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.
- Returns:
The operands.
-
type_index
: Final = 4003¶
-
values
() → Iterable[owlapy.model.OWLLiteral][source]¶ Gets the values that are in the oneOf.
- Returns:
The values of this {@code DataOneOf} class expression.
-