Question: Does Uruguay or Tuvalu (the one whose population is 8648) have greater PPP GDP per capita ?
Choices: Russian Soviet Federative Socialist Republic
Weimar Republic
Switzerland
Benin
Socialist Federal Republic of Yugoslavia
Uruguay
Cambodia
Samoa
Kiribati
Tuvalu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uruguay" . } UNION { ?e <pred:name> "Tuvalu" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8648"^^xsd:double . } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Uruguay
function: Find
inputs: Tuvalu
function: FilterNum
dependencies: 1
inputs: population
8648
=
function: SelectBetween
dependencies: 0
2
inputs: PPP GDP per capita
greater
Answer: Uruguay