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