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