Data properties

struct CowlDataProp

Represents a DataProperty in the OWL 2 specification.

Pseudo-extends: CowlDataPropExp, CowlEntity

CowlDataProp *cowl_data_prop(CowlIRI *iri)

Returns a data property.

Note

You must release the returned object via cowl_release().

Parameters:
  • iri – IRI of the data property.

Returns:

Data property, or NULL on error.

CowlDataProp *cowl_data_prop_from_string(UString string)

Returns a data 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:

Data property, or NULL on error.

CowlIRI *cowl_data_prop_get_iri(CowlDataProp *prop)

Gets the IRI of the specified data property.

Parameters:
  • prop – The data property.

Returns:

The IRI.

cowl_data_prop_from_static(str)

Returns a data property given the string literal representing its IRI.

Note

You must release the returned object via cowl_release().

Parameters:
  • strchar const[] String literal.

Returns:

CowlDataProp * Data property, or NULL on error.