Question: Which place has a lower unemployment rate, Lesotho or Bahrain?
Choices:
Weimar Republic
Cambodia
Benin
Samoa
Russian Soviet Federative Socialist Republic
Bahrain
Socialist Federal Republic of Yugoslavia
Kiribati
Lesotho
South Sudan
Program:
function: Find
inputs: Bahrain
function: Find
inputs: Lesotho
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bahrain" .  } UNION { ?e <pred:name> "Lesotho" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bahrain