fol_backward_chaining
Derives first-order logic queries from a knowledge base by backward chaining, building a depth-first proof tree and renaming variables apart per rule.
Instructions
First-order backward chaining: depth-first proof tree with variables renamed apart for each rule use.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kb": "<kb>",
"query": "<query>"
},
"name": "fol_backward_chaining"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kb | Yes | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |