Skip to main content

Relationship Types

A relationship type defines one kind of edge between concepts. It is the difference between “these two terms are somehow related” and “Churn Rate is calculatedFrom Cancelled Subscriptions, calculatedFrom is not symmetric, and it maps to om:calculatedFrom in RDF.” To open the page where you manage relationship types, go to Settings > Governance > Glossary Term Relations.

Relationship Types List

The table lists every relationship type. Glossary Term Relations page in Settings listing relationship types with their category, characteristics, cross glossary flag, cardinality, and color Each row shows these columns:
  • Name: the unique key of the type. It can’t change after the type is created.
  • Display Name: the label shown on graph edges and badges.
  • Category: where the meaning of the type comes from: Core, OWL / SKOS, or Custom · Admin-defined.
  • Characteristics: the OWL characteristics that apply to the type, such as Symmetric or Transitive.
  • Cross Glossary: a check mark shows that the type can connect concepts from different glossaries.
  • Cardinality: how many concepts can sit at each end of the relationship, for example Many to Many.
  • Color: the color of the type’s edges and badges.
  • Actions: the edit and delete icons for the type.
System-defined types and types in use have limits:
  • System-defined types carry a lock icon. They can be updated but never deleted, and their delete action is disabled.
  • Delete is also disabled for custom types that are in use, and for non-admin users.
To check how many relations use a type before you remove it, call GET /api/v1/glossaryTerms/relationTypes/usage. It returns each type with the number of relations currently using it.

Creating a Relationship Type

To add a custom relationship type, follow these steps:
  1. Navigate to Settings > Governance > Glossary Term Relations. Settings Governance page with the Glossary Term Relations card highlighted
  2. Click Add Relation Type. The Add Relation Type panel opens. Glossary Term Relations page with the Add Relation Type button highlighted
  3. Fill in the following details: Add Relation Type form with Inverse Relation, RDF Predicate, Cardinality, Color, the characteristics checkboxes, and Cross Glossary
  4. Click Add.
Only Name, Display Name, and RDF Predicate are required. Every other option has a default.

Identity

These fields name the type and explain what it means.

Category

The category shows where a type’s meaning comes from. New types default to Custom · Admin-defined.

Behavior

These settings control how the type is used in the graph and how Collate reasons over it.

Characteristics

Characteristics are OWL property characteristics. They aren’t labels: reasoners and the inference engine act on them. Tick every characteristic that applies. Symmetric and Asymmetric can’t be combined. Functional requires a Source Max of 1, and Inverse Functional requires a Target Max of 1, so set the Cardinality to Custom for those.

Cardinality

Cardinality limits how many concepts can sit at each end of the relationship:
  • One to One, One to Many, Many to One, or Many to Many. The default is Many to Many.
  • Custom: set a Source Max and a Target Max. Leave a field blank for no limit.

Color

Color sets the color of the type’s edges and badges. Choose from Yellow, Blue, Gray, Green, Dark Blue, Pink, Purple, Rose, Teal, or Violet.

Cross Glossary

Cross Glossary controls whether the type can connect concepts from different glossaries. It’s on by default. Turn it off for types that only make sense inside a single glossary.

Inverse and RDF Mapping

These fields define the reverse relationship and how the type appears in RDF.
The RDF Predicate is the identity of this relationship in the knowledge graph and in every exported ontology. Changing it after edges exist changes what downstream consumers see. Choose it carefully when you create the type.

Fields Available Only Through the API

The panel doesn’t show every field. Set the fields below through the POST, PUT, and PATCH /api/v1/relationshipTypes endpoints.

Types Shipped by Default

The following types ship with Collate.

Design Guidance

Every type is a decision modelers must make correctly on every edge. Three types used consistently beat twelve used approximately. Add a type when it unlocks a query you can’t express without it.
TRANSITIVE is what lets the transitive-closure rule answer “every ancestor” in one hop. SYMMETRIC is what stops the graph from storing both directions. Leaving these unset because you are unsure means the reasoner can’t help you.
Mapping to skos:broader rather than a bespoke om:isUnder makes your export intelligible to every SKOS-aware tool on the planet, for zero extra effort.
Set Replaced by (through the API) and leave the old type in place. Deleting a type that edges still reference destroys information no one can reconstruct.

API

The following endpoints manage relationship types.

Edit or Delete a Relationship Type

Relationship types are admin-governed and global. After you add relationship types, manage them from the Glossary Term Relations page. Glossary Term Relations table with the edit and delete icons of a custom type highlighted in the Actions column
  • To edit a relationship type:
    1. In the Actions column, click the Edit icon next to the relation you want to edit.
    2. Modify the details and click Update.
  • To remove a relationship type:
    1. In the Actions column, click the Delete icon next to the relation you want to remove.
    2. Click Delete.