Object Property Range
-
struct CowlObjPropRangeAxiom : public CowlAxiom
Represents an ObjectPropertyRange axiom in the OWL 2 specification.
Public Static Functions
-
static inline CowlObjPropRangeAxiom *cowl_obj_prop_range_axiom(CowlAnyObjPropExp *prop, CowlAnyClsExp *range, CowlVector *annot)
Returns a retained object property range axiom.
- Parameters
prop – The object property.
range – Range of the object property.
annot – [optional] The annotations.
- Returns
Retained axiom, or NULL on error.
-
static inline CowlObjPropExp *cowl_obj_prop_range_axiom_get_prop(CowlObjPropRangeAxiom *axiom)
Gets the object property.
- Parameters
axiom – The axiom.
- Returns
The object property.
-
static inline CowlClsExp *cowl_obj_prop_range_axiom_get_range(CowlObjPropRangeAxiom *axiom)
Gets the range of the object property.
- Parameters
axiom – The axiom.
- Returns
Range of the object property.
-
static inline CowlVector *cowl_obj_prop_range_axiom_get_annot(CowlObjPropRangeAxiom *axiom)
Gets the annotations of the specified axiom.
- Parameters
axiom – The axiom.
- Returns
The annotations.
-
static inline CowlObjPropRangeAxiom *cowl_obj_prop_range_axiom(CowlAnyObjPropExp *prop, CowlAnyClsExp *range, CowlVector *annot)