Question: Which place has a larger nominal GDP per capita, Armenia or Haiti?
Choices: Russian Soviet Federative Socialist Republic
Haiti
Weimar Republic
South Sudan
Cambodia
Samoa
Socialist Federal Republic of Yugoslavia
Kiribati
Armenia
Benin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haiti" .  } UNION { ?e <pred:name> "Armenia" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Haiti
function: Find
inputs: Armenia
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
Answer: Armenia