Annotation Values

struct CowlAnnotValue : public CowlObject

Represents annotation values, which can be either anonymous individuals, IRIs, or literals.

See also

CowlAnnotation

Subclassed by CowlAnonInd, CowlIRI, CowlLiteral

Public Functions

CowlAnnotValueType cowl_annot_value_get_type(CowlAnyAnnotValue *value)

Gets the type of the specified annotation value.

Parameters

value – The annotation value.

Returns

The type.

enum CowlAnnotValueType

Represents the type of CowlAnnotValue.

Values:

enumerator COWL_AVT_IRI

IRI.

enumerator COWL_AVT_LITERAL

Literal.

enumerator COWL_AVT_ANON_IND

Anonymous individual.

enumerator COWL_AVT_COUNT

Number of enum values.

enumerator COWL_AVT_FIRST

First enum value.