Annotation properties
-
struct CowlAnnotProp
Represents an AnnotationProperty in the OWL 2 specification.
Pseudo-extends:
CowlEntity
-
CowlAnnotProp *cowl_annot_prop(CowlIRI *iri)
Returns an annotation property.
Note
You must release the returned object via
cowl_release()
.- Parameters:
iri – IRI of the property.
- Returns:
Annotation property, or NULL on error.
-
CowlAnnotProp *cowl_annot_prop_from_string(UString string)
Returns an annotation property given the string representation of its IRI.
Note
You must release the returned object via
cowl_release()
.- Parameters:
string – String representation of the IRI.
- Returns:
Annotation property, or NULL on error.
-
CowlIRI *cowl_annot_prop_get_iri(CowlAnnotProp *prop)
Gets the IRI of the specified annotation property.
- Parameters:
prop – The annotation property.
- Returns:
IRI of the annotation property.
-
cowl_annot_prop_from_static(str)
Returns an annotation property given the string literal representing its IRI.
Note
You must release the returned object via
cowl_release()
.- Parameters:
str –
char const[]
String literal.
- Returns:
CowlAnnotProp *
Annotation property, or NULL on error.