Annotation Property Range

struct CowlAnnotPropRangeAxiom : public CowlAxiom

Represents an AnnotationPropertyRange axiom in the OWL 2 specification.

Public Static Functions

static inline CowlAnnotPropRangeAxiom *cowl_annot_prop_range_axiom(CowlAnnotProp *prop, CowlIRI *range, CowlVector *annot)

Returns a retained annotation property range axiom.

Parameters
  • prop – The annotation property.

  • range – Range of the annotation property.

  • annot – [optional] The annotations.

Returns

Retained axiom, or NULL on error.

static inline CowlAnnotProp *cowl_annot_prop_range_axiom_get_prop(CowlAnnotPropRangeAxiom *axiom)

Gets the annotation property.

Parameters

axiom – The axiom.

Returns

The annotation property.

static inline CowlIRI *cowl_annot_prop_range_axiom_get_range(CowlAnnotPropRangeAxiom *axiom)

Gets the range of the annotation property.

Parameters

axiom – The axiom.

Returns

Range of the annotation property.

static inline CowlVector *cowl_annot_prop_range_axiom_get_annot(CowlAnnotPropRangeAxiom *axiom)

Gets the annotations of the specified axiom.

Parameters

axiom – The axiom.

Returns

The annotations.