Question: Does Fiji or Malta have fewer total reserves?
Choices:
Kazakhstan
Malta
Kosovo
Bulgaria
Lithuania
Greece
Finland
Sweden
Cuba
Fiji
Program:
function: Find
inputs: Fiji
function: Find
inputs: Malta
function: SelectBetween
dependencies: 0
1
inputs: total reserves
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fiji" .  } UNION { ?e <pred:name> "Malta" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Malta