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