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 | Xia is Yan's parent. |
| 2 | assert_fact | Zed has Yan as a parent. |
| 3 | assert_fact | Abe is parented by Zed. |
| 4 | assert_fact | Bea has Abe as a parent. |
| 5 | assert_fact | Cia is Bea's parent. |
| 6 | assert_rule | If X is a parent of Y then X is an ancestor of Y. |
| 7 | assert_rule | If X is an ancestor of Y and Y is an ancestor of Z then X is an ancestor of Z. |
| 8 | retract | Please remove this only if it appears in reversed direction: parent(zed, yan). |
| 9 | query | Is Xia an ancestor of Abe? |
| 10 | query | Is Yan an ancestor of Bea? |
| ID | Query | Expect | Min Rows | Max Rows |
|---|---|---|---|---|
| yan_zed_parent | parent(yan, zed). | success | 1 | |
| xia_abe_ancestor | ancestor(xia, abe). | success | 1 | |
| yan_bea_ancestor | ancestor(yan, bea). | success | 1 | |
| zed_yan_absent | parent(zed, yan). | no_results | 0 |