Search



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



This page section provides a quick reference to the key syntax features of the Expression Constraint Language.

Syntax Overview

The following table summarises the key symbols used in the Expression Constraint Language's brief syntax.

Symbol

Name

Notes
|PipeUsed on either side of a concept's term for human readability
*AnyRetrieves all concepts in the substrate
^Member ofRetrieves all (active) members of a reference set identified by a specified reference set concept

<

Descendant of

Retrieves all descendants (subtypes) of the specified concept excluding the concept itself

<<

Descendant or self of

Retrieves all descendants (subtypes) of the specified concept including the concept itself

<!

Child of

Retrieves all children (immediate subtypes) of the specified concept excluding the concept itself

<<!

Child or self of

Retrieves all children (immediate subtypes) of the specified concept including the concept itself
>Ancestor ofRetrieves all ancestors (supertypes) of the specified concept excluding the concept itself

>>

Ancestor or self of

Retrieves all ancestors (supertypes) of the specified concept including the concept itself

>!

Parent of

Retrieves all parents (immediate supertypes) of the specified concept excluding the concept itself

>>!

Parent or self of

Retrieves all parents (immediate supertypes) of the specified concept including the concept itself

AND

Conjunction

Retrieves the intersection of the results of each sub-expressions

OR

Disjunction

Retrieves the union of the results of each sub-expressions

MINUS

Exclusion

Retrieves the members of the first expression and excludes the members returned by the second expression
:RefinementUsed before one or more attribute-value pairs to refine the set of concepts retrieved

[1..3]

Cardinality

Used to indicate the minimum and maximum number of occurrences of attributes or relationship groups

R

Reverse flag

Retrieves the set of attribute values (i.e. destination concepts) of a specified attribute for a specified set of concepts

.

Dot notation

Retrieves the set of attribute values (i.e. destination concepts) of a specified attribute for a specified set of concepts



Examples

The following table provides some examples of each of the key syntax features of the Expression Constraint Language.

...