Concepts Attributes – Concept Types
Concepts in Rainbird can be one of four concept types: String, Number, Date, or True/False. Concept type dictates what information end users can input and what information Rainbird will output. Click on each concept type below for more information.
Creating a concept and showing the different types
String concepts are the default and most commonly used type of concept. A string can be made up of any and all forms of text (numbers, letters, symbols etc.). String concepts can work with number and date concepts when building rules and expressions.
For example, Rainbird could sort a person’s age (number) into an age bracket (string)
- Name of Applicant (John Smith)
- NCD Category (Low, Medium, High)
- License Number (JUDD 9507139 NP 9 LN
- Risk level (High Risk, Low Risk)
A truth concept or boolean command, is used when an instance/answer to a question is either ‘true’ or ‘false’. While running a query that uses truth concepts, questions relating to the truth concept will be presented to the end user as Yes/No questions.
- Prior Convictions (Yes/No)
- Over 18 (Yes/No)
A date concept should be used when a date (YYYY-MM-DD) is either what will be input into Rainbird and/or output by Rainbird. Date instances can be calculated using specific date expressions. When running a Rainbird Query using the test function or a Rainbird Agent, a calendar is presented to the end user to select a date to input.
- Publication date: 1970-12-01
- Date of Birth: 1993-09-20
Query and Results
When viewing the knowledge map generated by the RBLang below, please run the query on the relationship ‘presents risk’. The outcome will vary depending on user input.
Version 1.02 – Last Update: 25/03/2021