Annotation Subproperties

struct CowlSubAnnotPropAxiom : public CowlAxiom

Represents a SubAnnotationPropertyOf axiom in the OWL 2 specification.

Public Static Functions

static inline CowlSubAnnotPropAxiom *cowl_sub_annot_prop_axiom(CowlAnnotProp *sub, CowlAnnotProp *super, CowlVector *annot)

Returns a retained annotation subproperty axiom.

Parameters
  • sub – The subproperty.

  • super – The superproperty.

  • annot – [optional] The annotations.

Returns

Retained axiom, or NULL on error.

static inline CowlAnnotProp *cowl_sub_annot_prop_axiom_get_sub(CowlSubAnnotPropAxiom *axiom)

Gets the subproperty.

Parameters

axiom – The axiom.

Returns

The subproperty.

static inline CowlAnnotProp *cowl_sub_annot_prop_axiom_get_super(CowlSubAnnotPropAxiom *axiom)

Gets the superproperty.

Parameters

axiom – The axiom.

Returns

The superproperty.

static inline CowlVector *cowl_sub_annot_prop_axiom_get_annot(CowlSubAnnotPropAxiom *axiom)

Gets the annotations of the specified axiom.

Parameters

axiom – The axiom.

Returns

The annotations.