Question: Which city is the capital of Bihar?
Choices:
Kilkenny
Cork
Bremen
Kingston
Hanover
Patna
Salisbury
Bari
Sparta
Trieste
Program:
function: Find
inputs: Bihar
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Bihar" .   }
Answer: Patna