Question: Does Oman or the Bangladesh with diplomatic ties to Portugal possess the lower real GDP rate of growth?
Choices:
South Sudan
Samoa
Switzerland
Benin
Socialist Federal Republic of Yugoslavia
Cambodia
Oman
Weimar Republic
Kiribati
Russian Soviet Federative Socialist Republic
Answer: Oman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oman" .  } UNION { ?e <pred:name> "Bangladesh" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Portugal" .   } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oman
function: Find
inputs: Portugal
function: Relate
dependencies: 1
inputs: diplomatic relation
backward
function: Find
inputs: Bangladesh
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: real gross domestic product growth rate
less