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