Question: Does Costa Rica or Ecuador have a greater unemployment rate?
Choices:
Russian Soviet Federative Socialist Republic
Costa Rica
Kiribati
Weimar Republic
Cambodia
Samoa
Ecuador
Benin
Switzerland
South Sudan
Program:
function: Find
inputs: Costa Rica
function: Find
inputs: Ecuador
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Costa Rica" .  } UNION { ?e <pred:name> "Ecuador" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Costa Rica