Question: Which has fewer total reserves, Kuwait or Cameroon?
Choices:
Russian Soviet Federative Socialist Republic
Benin
Cameroon
Weimar Republic
South Sudan
Switzerland
Cambodia
Socialist Federal Republic of Yugoslavia
Samoa
Kiribati
Program:
function: Find
inputs: Kuwait
function: Find
inputs: Cameroon
function: SelectBetween
dependencies: 0
1
inputs: total reserves
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kuwait" .  } UNION { ?e <pred:name> "Cameroon" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cameroon