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