Question: Does Kosovo or Jamaica (whose Human Development Index is 0.671) have the lower nominal GDP per capita?
Choices:
Kosovo
Tajikistan
Lithuania
Fiji
Greece
Sweden
Cuba
Kazakhstan
Finland
Jamaica
Program:
function: Find
inputs: Kosovo
function: Find
inputs: Jamaica
function: FilterNum
dependencies: 1
inputs: Human Development Index
0.671
=
function: SelectBetween
dependencies: 0
2
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kosovo" . } UNION { ?e <pred:name> "Jamaica" . ?e <Human_Development_Index> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "0.671"^^xsd:double . } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kosovo