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