Self Restriction

struct CowlObjHasSelf : public CowlClsExp

Represents ObjectHasSelf in the OWL 2 specification.

Public Static Functions

static inline CowlObjHasSelf *cowl_obj_has_self(CowlAnyObjPropExp *prop)

Returns a retained self-restriction.

Parameters

prop – The property expression.

Returns

Retained restriction, or NULL on error.

static inline CowlObjPropExp *cowl_obj_has_self_get_prop(CowlObjHasSelf *exp)

Gets the object property expression of the specified self-restriction.

Parameters

exp – The restriction.

Returns

The object property expression.