Question: Which has a smaller real gross domestic product growth rate, Paraguay or Zambia?
Choices:
Tunisia
Italy
Namibia
Zimbabwe
Paraguay
Colombia
Sierra Leone
Zambia
Bolivia
Germany
Program:
function: Find
inputs: Paraguay
function: Find
inputs: Zambia
function: SelectBetween
dependencies: 0
1
inputs: real gross domestic product growth rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paraguay" .  } UNION { ?e <pred:name> "Zambia" .  } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Zambia