Question: Tell me the democracy that has a border with Nigeria.
Choices:
Benin
Belarus
Niger
Uganda
Namibia
Chad
Cameroon
Rwanda
Slovakia
Serbia
Answer: Niger
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Nigeria" .   }
Program:
function: Find
inputs: Nigeria
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: democracy
function: What
dependencies: 2