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