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