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