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