Question: Does Gambia or the Democratic Republic of the Congo have the higher rate of inflation?
Choices:
Samoa
Gambia
Cambodia
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
South Sudan
Kiribati
Democratic Republic of the Congo
Benin
Weimar Republic
Program:
function: Find
inputs: Gambia
function: Find
inputs: Democratic Republic of the Congo
function: SelectBetween
dependencies: 0
1
inputs: inflation rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gambia" .  } UNION { ?e <pred:name> "Democratic Republic of the Congo" .  } ?e <inflation_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Democratic Republic of the Congo