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