Generated 2026-04-13 00:48:05 UTC | Back to ladder index | Back to docs
No run report found yet for this scenario.
| # | Expected Route | Utterance |
|---|---|---|
| 1 | assert_fact | Drew is a parent of Elle. |
| 2 | assert_fact | Frank is parented by Elle. |
| 3 | assert_rule | If X is a parent of Y then X is an ancestor of Y. |
| 4 | assert_rule | If X is an ancestor of Y and Y is an ancestor of Z then X is an ancestor of Z. |
| 5 | retract | Actually retract this if it was created in the wrong direction: parent(frank, elle). |
| 6 | query | Is Drew an ancestor of Frank? |
| ID | Query | Expect | Min Rows | Max Rows |
|---|---|---|---|---|
| elle_frank_parent | parent(elle, frank). | success | 1 | |
| frank_elle_not_parent | parent(frank, elle). | no_results | 0 | |
| drew_frank_ancestor | ancestor(drew, frank). | success | 1 |