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