Question: Does Papua New Guinea or Finland have less total reserves?
Choices:
Denmark
Saint Vincent and the Grenadines
Ukrainian Soviet Socialist Republic
Papua New Guinea
Lithuania
Trinidad and Tobago
Tajikistan
Jamaica
Kazakhstan
Kosovo
Program:
function: Find
inputs: Papua New Guinea
function: Find
inputs: Finland
function: SelectBetween
dependencies: 0
1
inputs: total reserves
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Papua New Guinea" .  } UNION { ?e <pred:name> "Finland" .  } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Papua New Guinea