Object properties

struct CowlObjProp

Represents an ObjectProperty in the OWL 2 specification.

Pseudo-extends: CowlObjPropExp, CowlEntity

CowlObjProp *cowl_obj_prop(CowlIRI *iri)

Returns an object property.

Note

You must release the returned object via cowl_release().

Parameters:
  • iri – IRI of the object property.

Returns:

Object property, or NULL on error.

CowlObjProp *cowl_obj_prop_from_string(UString string)

Returns an object 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:

Object property, or NULL on error.

CowlIRI *cowl_obj_prop_get_iri(CowlObjProp *prop)

Gets the IRI of the specified object property.

Parameters:
  • prop – The object property.

Returns:

The IRI.

cowl_obj_prop_from_static(str)

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

Note

You must release the returned object via cowl_release().

Parameters:
  • strchar const [] String literal.

Returns:

CowlObjProp * Object property, or NULL on error.