Question: Does Pakistan or Ecuador have a smaller nominal GDP per capita?
Choices: South Sudan
Socialist Federal Republic of Yugoslavia
Cambodia
Switzerland
Benin
Ecuador
Weimar Republic
Kiribati
Pakistan
Samoa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pakistan" .  } UNION { ?e <pred:name> "Ecuador" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pakistan
function: Find
inputs: Ecuador
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
Answer: Pakistan