Question: Which country has a lower nominal GDP per capita, Finland or Kazakhstan?
Choices:
Tajikistan
Bulgaria
Kosovo
Finland
Greece
Cuba
Fiji
Kazakhstan
Luxembourg
Lithuania
Program:
function: Find
inputs: Finland
function: Find
inputs: Kazakhstan
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Finland" .  } UNION { ?e <pred:name> "Kazakhstan" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kazakhstan