Question: What place has a greater real gross domestic product growth rate, Malaysia or Mali?
Choices:
Mali
Samoa
Switzerland
Kiribati
Russian Soviet Federative Socialist Republic
Benin
South Sudan
Cambodia
Weimar Republic
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: Mali
function: Find
inputs: Malaysia
function: SelectBetween
dependencies: 0
1
inputs: real gross domestic product growth rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mali" .  } UNION { ?e <pred:name> "Malaysia" .  } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mali