Question: Which has less population, Dubai that is headed by crown prince or Serbia?
Choices: Namibia
Sierra Leone
Morocco
Dubai
Germany
Serbia
Eswatini
Mozambique
Zimbabwe
Colombia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dubai" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "crown prince" .   } UNION { ?e <pred:name> "Serbia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: crown prince
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Dubai
function: And
dependencies: 1
2
function: Find
inputs: Serbia
function: SelectBetween
dependencies: 3
4
inputs: population
less
Answer: Dubai