Question: Between Belgium and Palau, which one has a smaller GDP (PPP)?
Choices:
Kiribati
Samoa
Belgium
Palau
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Weimar Republic
Cambodia
South Sudan
Benin
Program:
function: Find
inputs: Palau
function: Find
inputs: Belgium
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palau" .  } UNION { ?e <pred:name> "Belgium" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Palau