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