Classes

struct CowlClass

Represents a Class in the OWL 2 specification.

Pseudo-extends: CowlClsExp, CowlEntity

CowlClass *cowl_class(CowlIRI *iri)

Returns a class.

Note

You must release the returned object via cowl_release().

Parameters:
  • iri – IRI of the class.

Returns:

Class, or NULL on error.

CowlClass *cowl_class_from_string(UString string)

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

Class, or NULL on error.

CowlIRI *cowl_class_get_iri(CowlClass *cls)

Gets the IRI of the specified class.

Parameters:
  • cls – The class.

Returns:

IRI of the class.

cowl_class_from_static(str)

Returns a class given the string literal representing its IRI.

Note

You must release the returned object via cowl_release().

Parameters:
  • strchar const[] String literal.

Returns:

CowlClass * Class, or NULL on error.