Generated 2026-04-13 00:48:06 UTC | Back to ladder index | Back to docs
No run report found yet for this scenario.
| # | Expected Route | Utterance |
|---|---|---|
| 1 | assert_fact | Nora is the parent of Omar. |
| 2 | assert_fact | Omar is the parent of Priya. |
| 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 | To correct the record, retract parent(omar, priya). |
| 6 | assert_fact | The corrected version is this: Omar is the parent of Quinn. |
| 7 | assert_fact | Quinn is the parent of Priya. |
| 8 | query | Is Nora an ancestor of Priya now? |
| ID | Query | Expect | Min Rows | Max Rows |
|---|---|---|---|---|
| old_omar_priya_removed | parent(omar, priya). | no_results | 0 | |
| quinn_priya_parent | parent(quinn, priya). | success | 1 | |
| nora_priya_ancestor | ancestor(nora, priya). | success | 1 |