Object Property Expressions

struct CowlObjPropExp : public CowlObject

Represents an ObjectPropertyExpression in the OWL 2 specification.

Subclassed by CowlInvObjProp, CowlObjProp

Public Functions

CowlObjProp *cowl_obj_prop_exp_get_prop(CowlAnyObjPropExp *exp)

Gets the underlying object property.

Parameters

exp – The object property expression.

Returns

The object property.

Public Static Functions

static inline bool cowl_obj_prop_exp_is_inverse(CowlAnyObjPropExp *exp)

Returns true if the object property expression is inverse.

Parameters

exp – The object property expression.

Returns

True if the expression is inverse, false otherwise.