PredicateNode.
One node of a predicate: a group, a condition or an operator node
Figure 1PredicateNodespecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- rules_engine
Fields#
| field | type | required | note |
|---|---|---|---|
form | one of group | condition | operator node | yes | |
op | one of all | any | none | no | for a group |
children | PredicateNode | no | for a group |
subject | text | no | for a condition: the field or the subject |
relationship | Operator | no | |
value | json | no | |
threshold | share | no | for a leaf that compares by nearness, a match by name or a semantic leaf by meaning: its floor, in place of a breadth |
breadth | one of exact | similar | related | broad | no | for a leaf that compares by nearness: how near, in place of a floor; resolved at compile to the leaf’s channel bar of the bars of nearness (06 §2.1) |
concept | id | no | a semantic leaf names a concept, never a phrase |
walks | KindOfConnection | no | for an operator node: the connection it walks, by role |
role | text | no | |
inner | PredicateNode | no |
Routes that use it#
No route takes or returns PredicateNode directly. The record holds it, and the objects that point at it reach it.