Question: What is the capital city of Venezuela?
Choices:
Kilkenny
Cork
Tokyo
Kingston
Cairo
Edinburgh
Saskatoon
Trieste
Jena
Caracas
Program:
function: Find
inputs: Venezuela
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> "Venezuela" .   }
Answer: Caracas