Same and Different Individuals

struct CowlNAryIndAxiom : public CowlAxiom

Represents a SameIndividuals or DifferentIndividuals axiom in the OWL 2 specification.

Public Static Functions

static inline CowlNAryIndAxiom *cowl_nary_ind_axiom(CowlNAryAxiomType type, CowlVector *individuals, CowlVector *annot)

Returns a retained N-ary individual axiom.

Parameters
  • type – The type.

  • individuals – The individuals.

  • annot – [optional] The annotations.

Returns

Retained axiom, or NULL on error.

static inline CowlNAryAxiomType cowl_nary_ind_axiom_get_type(CowlNAryIndAxiom *axiom)

Gets the type of the specified N-ary individual axiom.

Parameters

axiom – The axiom.

Returns

The type.

static inline CowlVector *cowl_nary_ind_axiom_get_individuals(CowlNAryIndAxiom *axiom)

Gets the individuals of the specified N-ary individual axiom.

Parameters

axiom – The axiom.

Returns

The individuals.

static inline CowlVector *cowl_nary_ind_axiom_get_annot(CowlNAryIndAxiom *axiom)

Gets the annotations of the specified axiom.

Parameters

axiom – The axiom.

Returns

The annotations.