GetParent

The GetParent() function returns the direct parent concept of a given concept.

Read general information about Concepts and Ontology

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Returns the direct parent concept of a given concept.

An unknown value is returned if the concept has no parent or the given parameter is unknown.

The GetAncestors() function includes the entire parent chain from root to concept (excluding root and concept).

Syntax

GetParent(concept)

GetParent('Color'.'Violet') =>Result: Color

GetParent('World regions'.'EMEA'.'MENA') =>Result: EMEA

GetParent(unknownconcept) =>Result: unknown

Parameters

NameTypeRequiredDescription

concept

concept

a single concept, either literal or as expression

Last updated