Data Properties
-
struct CowlDataProp : public CowlDataPropExp, public CowlEntity
Represents a DataProperty in the OWL 2 specification.
Public Static Functions
-
static inline CowlDataProp *cowl_data_prop(CowlIRI *iri)
Returns a retained data property.
- Parameters
iri – IRI of the data property.
- Returns
Retained data property, or NULL on error.
-
static inline CowlDataProp *cowl_data_prop_from_string(UString string)
Returns a retained data property given the string representation of its IRI.
- Parameters
string – String representation of the IRI.
- Returns
Retained data property, or NULL on error.
-
static inline CowlDataProp *cowl_data_prop_retain(CowlDataProp *prop)
Retains the specified data property.
- Parameters
prop – The data property.
- Returns
Retained data property.
-
static inline void cowl_data_prop_release(CowlDataProp *prop)
Releases the specified data property.
- Parameters
prop – The data property.
-
static inline CowlIRI *cowl_data_prop_get_iri(CowlDataProp *prop)
Gets the IRI of the specified data property.
- Parameters
prop – The data property.
- Returns
The IRI.
-
static inline bool cowl_data_prop_equals(CowlDataProp *lhs, CowlDataProp *rhs)
Equality function.
- Parameters
lhs – LHS of the equality relation.
rhs – RHS of the equality relation.
- Returns
True if the equality relation holds, false otherwise.
-
static inline ulib_uint cowl_data_prop_hash(CowlDataProp *prop)
Hash function.
- Parameters
prop – The property.
- Returns
The hash value.
-
static inline bool cowl_data_prop_iterate_primitives(CowlDataProp *prop, CowlPrimitiveFlags flags, CowlIterator *iter)
Iterates over this data property.
- Parameters
prop – The data property.
flags – Iteration flags.
iter – The iterator.
- Returns
True if the iteration was completed, false if it was stopped.
-
cowl_data_prop_from_static(CSTR)
Returns a retained data property given the static string representation of its IRI.
- Parameters
CSTR – [char const[]] Static string.
- Returns
[CowlDataProp *] Retained data property, or NULL on error.
-
static inline CowlDataProp *cowl_data_prop(CowlIRI *iri)