Data ranges

struct CowlDataRange

Represents a DataRange in the OWL 2 specification.

Pseudo-extends: CowlObject

enum CowlDataRangeType

Represents the type of CowlDataRange .

Values:

enumerator COWL_DRT_DATATYPE

CowlDatatype - Datatype.

enumerator COWL_DRT_DATATYPE_RESTR

CowlDatatypeRestr - Datatype restriction.

enumerator COWL_DRT_DATA_INTERSECT

CowlNAryData - Intersection of data ranges.

enumerator COWL_DRT_DATA_UNION

CowlNAryData - Union of data ranges.

enumerator COWL_DRT_DATA_COMPL

CowlDataCompl - Complement of data ranges.

enumerator COWL_DRT_DATA_ONE_OF

CowlDataOneOf - Enumeration of literals.

enumerator COWL_DRT_COUNT

Number of enum values.

enumerator COWL_DRT_FIRST

First enum value.

CowlDataRangeType cowl_data_range_get_type(CowlAnyDataRange *range)

Gets the type of the specified data range.

Parameters:
  • range – The data range.

Returns:

The type.