Rainbird
  • 🏃‍♂️Getting started
    • What is Rainbird?
    • How does Rainbird work?
    • Example use cases
      • 📈Investment suitability assessment
      • 🤖Digital tax consultant
      • 🏥Covid risk assessment
      • 🚗Insurance claims liability
      • 💰Fraud identification
    • Hosting options
    • Quickstart guide
    • Onboarding with Rainbird
  • 🧠Knowledge Modelling
    • What is knowledge modelling?
    • What is a query?
    • Modelling
      • Concepts
        • Concept instances
      • Relationships
        • Question Configuration
        • Rules
          • Match, Infer, Ask process
          • Expressions List
      • Facts
      • Datasources
      • Other features
        • Markdown
        • Import/Export Knowledge Maps
      • Troubleshooting Tips
    • Testing
      • Manual tests
      • Automated tests
      • External User Acceptance Testing (UAT)
    • Versioning
    • Publishing
      • API Management
      • Setting a live version
      • Publishing an agent
    • Stats and Reporting
    • Managing your data
    • The library
      • How to: update a template
  • 🔍Evidence
    • What is evidence?
    • The Evidence Tree
      • The Salience Chart
  • 👩‍💻Developer guides
    • Overview
    • API Guide
      • API request flow
      • Run example queries
      • Environments
      • Error codes
      • Skipping an answer to a question
      • Retrieving a full Evidence Tree for use with a custom UI or application
      • Building an Evidence Tree URL
    • API interactive documentation
    • SDKs
  • Rainbird Labs
    • Overview
    • Consult
    • Generate from documentation
    • Co-author
    • /interact
    • /explain
Powered by GitBook
On this page
  • Overview
  • Relationship Features
  • Singular or Plural
  • Question configuration
  • Rules
  1. Knowledge Modelling
  2. Modelling

Relationships

Last updated 3 months ago

Overview

Relationships link two concepts together. Relationships act as a description of how two things are related.

The two concepts linked together by a relationship are called the Subject (of the relationship) and the Object (of the relationship).

Relationships are always directional, they link concepts together in a single direction. In the illustration below, the Subject is the left hand concept, the Object is the right hand concept.

Creating relationships between 2 concepts is simple in the Rainbird Studio. Select the starting concept (the Subject) and click Add relationship. Then simply click the ending concept (the Object).

Only string concepts can be used as a subject. Any concept type can be used as the object.

Just enter a name that describes the relationship between the 2 concepts and click Add.

Validation

Relationship names must:

  • Be unique

  • Be less than 2,000 characters

  • Not contain quotation marks "

Relationship Features

Singular or Plural

A relationship can either represent facts that are:

  1. Singular (default): these are one-to-one relationships e.g. a person can only be born in one country.

  2. Plural: these are one-to-many relationships e.g. a person can have lived in many countries.

Toggling plural on will impact the behaviour of the reasoning engine when running a query. Because there are many facts that could be created for this relationship, the engine will apply many strategies to identify as many facts as it can, be that processing rules multiple times (this can impact performance), asking users multiple choice questions or asking the user even when facts have already been identified from other sources, such as stored in the KM, from a datasource, injected or inferred from rules.

The plural switch will be disabled if the object concept is a boolean (i.e. true/false or mutually exclusive)

Question configuration

For some solutions you will configure your knowledge map so it will ask an end-user to provide the data. This is useful when the data cannot be obtained from any other source and cannot be inferred, but is necessary to provide a decision.

This is most useful in consultative solutions where the digital expert (the Rainbird Knowledge Map) would ask for necessary information from the end-user in order to arrive at a decision.

Rules

Academy

Naming relationships to ensure they are clear, concise and meaningful is important. Follow the course for more guidance.

You need to be logged in to access the course via the link. No account?

Relationships have many features to assist you with modelling your knowledge. These will be summarised here, but for more guidance on how to use these features in practice it is recommended you follow our training on the .

The ability for Rainbird to ask questions can be turned on or off and this is covered in the section.

Within your knowledge map you create rules to infer new data (facts). This all covered in our section.

Online courses for how to best to use these features are available in the .

🧠
Academy
Naming Relationships
sign-up here
Academy
Question Configuration
Rules
Rainbird Academy
Question Configuration
rules
Active Plural toggle. This is switched off by default.