Question: Which has more people, Dubai (the one that is exported to Saudi Arabia) or Republic of Venice?
Choices: Colombia
Dubai
Sierra Leone
Zimbabwe
Germany
Thailand
Republic of Venice
Morocco
Eswatini
Namibia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dubai" . ?e <exported_to> ?e_1 . ?e_1 <pred:name> "Saudi Arabia" .   } UNION { ?e <pred:name> "Republic of Venice" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 0
inputs: exported to
backward
function: Find
inputs: Dubai
function: And
dependencies: 1
2
function: Find
inputs: Republic of Venice
function: SelectBetween
dependencies: 3
4
inputs: population
greater
Answer: Dubai