Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The ConceptId()
function returns the internal id of a concept.
Read general information about Concepts and Ontology
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a number that is internally used by wem to identify concept
.
Returns Unknown
if the parameter is unknown.
Name | Type | Required | Description |
---|---|---|---|
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Name | Type | Required | Description |
---|
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Name | Type | Required | Description |
---|
concept
concept
a single concept, either literal or as expression
| concept | a single concept, either literal or as expression |
| text | text to search for in names (local/display) and optionally synonyms |
| list of concepts | a concept set as source for the search |
| Yes/No | either true or false, which indicates if synonyms must be included in the filter or not. |
The GetAncestors()
function returns all the parents (ancestors) of a concept.
Read general information about Concepts and Ontology
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a Concept Set with all the parent concepts of a concept. The concept
parameter is not included in the result.
An unknown value is returned if the concept has no parent or the given parameter is unknown.
The GetParent() function only returns the direct parent of a concept.
Name | Type | Required | Description |
---|---|---|---|
concept
concept
a single concept, either literal or as expression
The GetChildren()
function returns all the child concepts of a concept.
Read general information about Concepts and Ontology
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a concept set that contains the direct child concepts of a concept.
An unknown value is returned if the concept has no children or the given parameter is unknown.
The GetDescendants() function includes all descendants (multiple levels).
The GetDescendants()
function returns all descendant concepts of a concept.
Returns a concept set that contains all the descendant concepts of a concept.
The concept
parameter is not included.
An unknown value is returned if the concept has no descendants or the given parameter is unknown.
Name | Type | Required | Description |
---|---|---|---|
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
The function only returns the direct child concepts.
Name | Type | Required | Description |
---|
concept
concept
a single concept, either literal or as expression
| concept | a single concept, either literal or as expression |
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).
The Intersection()
function produces a concept set that contains the concepts that a part of all given concept sets in the parameters.
Returns a concept set with the concepts that occur in each concept set provided in the parameter list.
An unknownconceptset value is returned if any of the conceptsets in the list is unknown, or if there is no concept available in all sets in the parameterlist.
Name | Type | Required | Description |
---|---|---|---|
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Name | Type | Required | Description |
---|
concept
concept
a single concept, either literal or as expression
| list of concepts | 2 or more sets of concepts (or a single concept) combined with the List() function as parameterlist. |
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Name | Type | Required | Description |
---|
| concept | a single concept, either literal or as expression |
The Synonyms()
function returns the synonym text values of a concept.
Read general information about Concepts and Ontology
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns an array with text values that contain the synonyms of the given concept.
An unknown value is returned if the concept is unknown or there are no synonyms provided in the concept properties.
Name | Type | Required | Description |
---|---|---|---|
concept
concept
a single concept, either literal or as expression
The ToConcept()
function returns the concept with the given Local Name or Concept Id.
Be aware that using this function with a Local Name, this can only work if the local name used is unique in the total ontology collection. If there are more than one concept with the same local name that you are looking for, the ToConcept will not work because it searches through all of the Ontology and expects only 1 specific result to return as Concept.
Returns the concept that is found with the given argument.
Returns Unknown
if:
the parameter is unknown;
if no concept can be found for the provided parameter;
if there are multiple matches for the provided parameter (local name).
For finding concepts when local name may not be unique and you want to search within a specific parent, we recommend using one of the other Concept Functions available, where you can search more specifically, like or .
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Name | Type | Required | Description |
---|
| text | text that is used to search the local name of a concept |
| numeric | number that is used to search concept by Concept Id |
The Union()
function produces a concept set with all the concepts from a collection of concept sets and concepts (needs the List() function to combine literal sets and concepts).
Combining concepts and concept sets into a new concept set can also be achieved using addition (+).
Read general information about Concepts and Ontology
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a new concept set with all concepts provided in the parameter list. This collection can contain concepts from different parents.
Returns Unknown
if one of the parameter values is unknown.
Name | Type | Required | Description |
---|---|---|---|
List(concepts | concept_sets)
A list of concepts and/or concept-sets
a list of separate concepts or concept-sets