Question: Does Senegal or Gambia have the lower gross domestic product (PPP)?
Choices:
Kiribati
Cambodia
Switzerland
Benin
South Sudan
Samoa
Gambia
Senegal
Weimar Republic
Socialist Federal Republic of Yugoslavia
Answer: Gambia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Senegal" .  } UNION { ?e <pred:name> "Gambia" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Senegal
function: Find
inputs: Gambia
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less