Question: What is the capital of Senegal?
Choices:
Kingston
Cork
Dakar
Peshawar
Trieste
Accra
Kilkenny
Newcastle upon Tyne
Ravenna
Belfast
Answer: Dakar
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Senegal" .   }
Program:
function: Find
inputs: Senegal
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: city
function: What
dependencies: 2