Question: Which has a smaller gross domestic product growth rate, Central African Republic or Ivory Coast?
Choices:
Kiribati
South Sudan
Ivory Coast
Switzerland
Central African Republic
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Cambodia
Samoa
Weimar Republic
Program:
function: Find
inputs: Central African Republic
function: Find
inputs: Ivory Coast
function: SelectBetween
dependencies: 0
1
inputs: real gross domestic product growth rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Central African Republic" .  } UNION { ?e <pred:name> "Ivory Coast" .  } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Central African Republic