Annotation Assertions

struct CowlAnnotAssertAxiom : public CowlAxiom

Represents an AnnotationAssertion axiom in the OWL 2 specification.

Public Static Functions

static inline CowlAnnotAssertAxiom *cowl_annot_assert_axiom(CowlAnnotProp *prop, CowlAnyAnnotValue *subject, CowlAnyAnnotValue *value, CowlVector *annot)

Returns a retained annotation assertion axiom.

Parameters
  • prop – The annotation property.

  • subject – The annotation subject.

  • value – The annotation value.

  • annot – [optional] The annotations.

Returns

Retained axiom, or NULL on error.

static inline CowlAnnotProp *cowl_annot_assert_axiom_get_prop(CowlAnnotAssertAxiom *axiom)

Gets the annotation property.

Parameters

axiom – The axiom.

Returns

The annotation property.

static inline CowlAnnotValue *cowl_annot_assert_axiom_get_subject(CowlAnnotAssertAxiom *axiom)

Gets the annotation subject.

Note

The annotation subject can only be an anonymous individual or an IRI.

Parameters

axiom – The axiom.

Returns

The annotation subject.

static inline CowlAnnotValue *cowl_annot_assert_axiom_get_value(CowlAnnotAssertAxiom *axiom)

Gets the annotation value.

Parameters

axiom – The axiom.

Returns

The annotation value.

static inline CowlVector *cowl_annot_assert_axiom_get_annot(CowlAnnotAssertAxiom *axiom)

Gets the annotations of the specified axiom.

Parameters

axiom – The axiom.

Returns

The annotations.