Entities

The following functions allow the conversion of Cowl entities into Tiny-ME entity identifiers and back.

From Cowl

tme_cowl_class_to_atomic(CLS)

Converts a CowlClass into a TmeAtomicConcept.

Return

[TmeAtomicConcept] Entity pointer.

Parameters
  • CLS: [CowlClass*] Class instance.

tme_cowl_obj_prop_to_atomic(PROP)

Converts a CowlObjProp into a TmeAtomicRole.

Return

[TmeAtomicRole] Entity pointer.

Parameters
  • PROP: [CowlObjProp*] Object property instance.

tme_cowl_named_ind_to_atomic(IND)

Converts a CowlNamedInd into a TmeAtomicIndividual.

Return

[TmeAtomicIndividual] Entity pointer.

Parameters
  • IND: [CowlNamedInd*] Named individual instance.

TmeEntityPtr tme_cowl_entity_to_atomic(CowlEntity entity)

Converts a CowlEntity into a CowlEntityPtr.

Return

Entity pointer.

Parameters
  • entity: Entity instance.

To Cowl

tme_cowl_class_from_atomic(CONCEPT)

Converts a TmeAtomicConcept into a CowlClass.

Return

[CowlClass] Class instance.

Parameters
  • CONCEPT: [TmeAtomicConcept] Concept.

tme_cowl_obj_prop_from_atomic(ROLE)

Converts a TmeAtomicRole into a CowlObjProp.

Return

[CowlObjProp] Object property instance.

Parameters
  • ROLE: [TmeAtomicRole] Role.

tme_cowl_named_ind_from_atomic(IND)

Converts a TmeAtomicIndividual into a CowlNamedInd.

Return

[CowlNamedInd] Named individual instance.

Parameters
  • IND: [TmeAtomicIndividual] Individual.