Annotation Property Domain
-
struct CowlAnnotPropDomainAxiom : public CowlAxiom
Represents an AnnotationPropertyDomain axiom in the OWL 2 specification.
Public Static Functions
-
static inline CowlAnnotPropDomainAxiom *cowl_annot_prop_domain_axiom(CowlAnnotProp *prop, CowlIRI *domain, CowlVector *annot)
Returns a retained annotation property domain axiom.
- Parameters
prop – The annotation property.
domain – Domain of the annotation property.
annot – [optional] The annotations.
- Returns
Retained axiom, or NULL on error.
-
static inline CowlAnnotProp *cowl_annot_prop_domain_axiom_get_prop(CowlAnnotPropDomainAxiom *axiom)
Gets the annotation property.
- Parameters
axiom – The axiom.
- Returns
The annotation property.
-
static inline CowlIRI *cowl_annot_prop_domain_axiom_get_domain(CowlAnnotPropDomainAxiom *axiom)
Gets the domain of the annotation property.
- Parameters
axiom – The axiom.
- Returns
Domain of the annotation property.
-
static inline CowlVector *cowl_annot_prop_domain_axiom_get_annot(CowlAnnotPropDomainAxiom *axiom)
Gets the annotations of the specified axiom.
- Parameters
axiom – The axiom.
- Returns
The annotations.
-
static inline CowlAnnotPropDomainAxiom *cowl_annot_prop_domain_axiom(CowlAnnotProp *prop, CowlIRI *domain, CowlVector *annot)