Question: Which has a larger inflation rate, Republic of the Congo (the one whose population is 2078914) or South Sudan?
Choices:
Kiribati
Benin
South Sudan
Republic of the Congo
Switzerland
People's Republic of China
Cambodia
Socialist Federal Republic of Yugoslavia
Weimar Republic
Samoa
Program:
function: Find
inputs: Republic of the Congo
function: FilterNum
dependencies: 0
inputs: population
2078914
=
function: Find
inputs: South Sudan
function: SelectBetween
dependencies: 1
2
inputs: inflation rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Republic of the Congo" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2078914"^^xsd:double . } UNION { ?e <pred:name> "South Sudan" . } ?e <inflation_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Sudan