Question: Does Tonga or Portugal have the higher PPP GDP per capita?
Choices:
Weimar Republic
Kiribati
Socialist Federal Republic of Yugoslavia
Tonga
Russian Soviet Federative Socialist Republic
Cambodia
Samoa
Portugal
Switzerland
South Sudan
Answer: Portugal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tonga" .  } UNION { ?e <pred:name> "Portugal" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tonga
function: Find
inputs: Portugal
function: SelectBetween
dependencies: 0
1
inputs: PPP GDP per capita
greater