Question: Which country has a higher unemployment rate, Senegal or the Dominican Republic?
Choices:
Weimar Republic
Samoa
Kiribati
Dominican Republic
Senegal
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
South Sudan
Cambodia
Benin
Program:
function: Find
inputs: Senegal
function: Find
inputs: Dominican Republic
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Senegal" .  } UNION { ?e <pred:name> "Dominican Republic" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dominican Republic