Question: Among the republic that shares border with Benin, which one has the smallest nominal GDP per capita ?
Choices:
Zimbabwe
Niger
Togo
Mozambique
Tunisia
Namibia
Sierra Leone
Italy
Colombia
Germany
Answer: Niger
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Benin" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Benin
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: republic
function: SelectAmong
dependencies: 2
inputs: nominal GDP per capita
smallest