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
Program:
function: Find
inputs: Kyrgyzstan
function: Find
inputs: Ghana
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
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
Answer: Ghana