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