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