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