Question: Does Kyrgyzstan or Ghana have greater nominal GDP per capita ?
Choices:
Kiribati
Ghana
Russian Soviet Federative Socialist Republic
Kyrgyzstan
Switzerland
Samoa
Weimar Republic
Benin
Cambodia
South Sudan
Answer: Ghana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kyrgyzstan" .  } UNION { ?e <pred:name> "Ghana" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kyrgyzstan
function: Find
inputs: Ghana
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater