Question: Does Liberia or Somalia have a smaller unemployment rate?
Choices:
Mozambique
Liberia
Tunisia
Germany
Somalia
Italy
Zimbabwe
Bolivia
Namibia
Colombia
Program:
function: Find
inputs: Liberia
function: Find
inputs: Somalia
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Liberia" .  } UNION { ?e <pred:name> "Somalia" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Liberia