Question: Which has the higher real gross domestic product growth rate, Argentina or Brazil, which has a diplomatic relationship with the Czech Republic?
Choices:
Cambodia
Samoa
Argentina
Kiribati
Weimar Republic
Benin
Socialist Federal Republic of Yugoslavia
South Sudan
Brazil
Switzerland
Answer: Argentina
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Argentina" .  } UNION { ?e <pred:name> "Brazil" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Czech Republic" .   } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Argentina
function: Find
inputs: Czech Republic
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Brazil
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: real gross domestic product growth rate
greater