Question: Which one has lower nominal GDP per capita, Saint Kitts and Nevis or Croatia?
Choices:
Tajikistan
Fiji
Finland
Croatia
Sweden
Saint Kitts and Nevis
Lithuania
Kazakhstan
Kosovo
Cuba
Program:
function: Find
inputs: Saint Kitts and Nevis
function: Find
inputs: Croatia
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> "Croatia" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Croatia