Question: What city is the capital of Liberia?
Choices:
Monrovia
Chengdu
Beijing
Warsaw
Trieste
Valencia
Charlottetown
Kilkenny
Kingston
Curitiba
Program:
function: Find
inputs: Liberia
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> "Liberia" .   }
Answer: Monrovia