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