Question: Does Colombia or Georgia, which has diplomatic relations with Vietnam, have a greater real gross domestic product growth rate?
Choices:
Sierra Leone
Zimbabwe
Germany
Namibia
France
Mozambique
Georgia
Colombia
Italy
Tunisia
Answer: Georgia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Colombia" .  } UNION { ?e <pred:name> "Georgia" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Vietnam" .   } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Colombia
function: Find
inputs: Vietnam
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Georgia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: real gross domestic product growth rate
greater