Another type of triangle structure is possible. As shown in the figure below, the orientation of the relationship can change, involving building the structure differently to obtain a similar result.
The alternative structure is usually used when the concept B is not a string. For example, if B is a number, no relationship can start from be. This is why the triangle needs to be closed with a relationship pointing towards B.
Here is another example of a triangle similar to the first example. Instead of referencing the specific problem a person has, the new example gets the number of problems a person has instead. Then it will infer the attitude a person has towards solutions, rather than giving a specific solution.
All the relationships of this example are singular, all their questions are turned off except for the “has number of problem” relationship.
Build the Rule
The figure below demonstrates how to create the rule which will make the inference of the main query:
Note: The similarity to the first structure. The only difference is in the order of %O and %NUMBER_OF_PROBLEM on the second condition.
Add Concept Instances
For the alternative triangle structure, we only create facts for the “Attitude toward solution” concept, as we can’t create facts for a number concept.
Here are the 4 instances created in the example:
- Time to chill
- No worries, I got this
- Oh darn, time to get serious
- Rampage mode activated
The RBLang below will create the triangle map used in the example when imported into Rainbird. Click on ‘Export .rbird’ to download the knowledge map or ‘copy RBLang’ and paste the code directly into Rainbird.
Continue with Building in Triangles - Downloadable Model ➡️