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