Question: Among democracies which have a common border with Slovakia, which one has the least amount of reserves?
Choices:
Mozambique
Sierra Leone
Italy
Bolivia
Colombia
Tunisia
Zimbabwe
Austria
Ukraine
Namibia
Answer: Ukraine
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Slovakia" .  ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Slovakia
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: democracy
function: SelectAmong
dependencies: 2
inputs: total reserves
smallest