Officially out now: The TypeDB 3.0 Roadmap >>

relation statement

The statement relation <LABEL> is used to identify the <LABEL> as a type of kind relation.

Defining relations

The relation keyword can be used to define a type of kind relation.

define relation parentship;

Matching relations

The relation keyword can be used to match all types of kind relation.

match relation $r;