f | [Path 1]: | f | [Path 1]: |
| 0: Start of execution: Beginning Search | | 0: Start of execution: Beginning Search |
| 1: Searching: query | | 1: Searching: query |
| 2: Searching: grandparent(cornelius, connie) | | 2: Searching: grandparent(cornelius, connie) |
| 3: Searching: parent(cornelius, Candidate Variable_0) | | 3: Searching: parent(cornelius, Candidate Variable_0) |
| 4: Found: parent(cornelius, patricia) | | 4: Found: parent(cornelius, patricia) |
| 5: Searching: parent(patricia, connie) | | 5: Searching: parent(patricia, connie) |
| 6: Fail: parent(patricia, connie) | {'Result': 'Search Failed'} | | 6: Fail: parent(patricia, connie) | {'Result': 'Search Failed'} |
| 7: Fail: grandparent(cornelius, connie) | {'Result': 'Search Failed'} | | 7: Fail: grandparent(cornelius, connie) | {'Result': 'Search Failed'} |
| 8: Fail: query | {'Result': 'Search Failed'} | | 8: Fail: query | {'Result': 'Search Failed'} |
| | | |
t | However, there is another possible path: | t | |
| | | |
| [Path 2]: | | |
| 0: Start of execution: Beginning Search | | |
| 1: Searching: query | | |
| 2: Searching: grandparent(cornelius, connie) | | |
| 3: Searching: parent(cornelius, Candidate Variable_0) | | |
| 4: Found: parent(cornelius, patricia) | | |
| 5: Searching: parent(patricia, christine) | | |
| 6: Searching: parent(christine, connie) | | |
| 7: Found: parent(christine, connie) | | |
| 8: Found: grandparent(cornelius, connie) | | |
| 9: Found: query | {'Result': 'truth = True'} | | |