pyowl2.abstracts.property_range
Defines an abstract base class representing the range of an OWL property.
Description
In the context of the Web Ontology Language, the range of a property acts as a constraint that defines the specific types of values or individuals a property can associate with a given subject. By serving as a common interface, this abstraction unifies diverse entities such as class expressions and data ranges that are legally permissible to serve as a range within property axioms. It inherits from the base object class and utilizes the Abstract Base Class module to enforce a contract that ensures all concrete implementations adhere to the expected structural requirements. Consequently, specific implementations must subclass this definition to provide the necessary logic for handling property ranges, as direct instantiation is not supported.
Classes
This class serves as an abstract base class representing the range of an OWL property. In the Web Ontology Language, the range of a property constrains the types of values or individuals that the property can associate with a subject. As a common interface, it unifies the various entities—such as class expressions and data ranges—that can legally serve as the range in property axioms. Because this is an abstract class, it is intended to be subclassed by specific implementations rather than instantiated directly. |
Module Contents
UML Class Diagram for OWLPropertyRange
- class OWLPropertyRange[source]
Bases:
pyowl2.abstracts.object.OWLObject,abc.ABC
This class serves as an abstract base class representing the range of an OWL property. In the Web Ontology Language, the range of a property constrains the types of values or individuals that the property can associate with a subject. As a common interface, it unifies the various entities—such as class expressions and data ranges—that can legally serve as the range in property axioms. Because this is an abstract class, it is intended to be subclassed by specific implementations rather than instantiated directly.
- __slots__ = ()