Question: Does Azerbaijan or Senegal have the larger total reserves?
Choices:
South Sudan
Azerbaijan
Cambodia
Russian Soviet Federative Socialist Republic
Weimar Republic
Switzerland
Socialist Federal Republic of Yugoslavia
Benin
Samoa
Kiribati
Program:
function: Find
inputs: Azerbaijan
function: Find
inputs: Senegal
function: SelectBetween
dependencies: 0
1
inputs: total reserves
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Azerbaijan" .  } UNION { ?e <pred:name> "Senegal" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Azerbaijan