Question: Which has more people, Republic of Venice or Serbia?
Choices: Tunisia
Serbia
Colombia
Republic of Venice
Zimbabwe
Sierra Leone
Mozambique
Bolivia
Namibia
Italy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Republic of Venice" .  } UNION { ?e <pred:name> "Serbia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Republic of Venice
function: Find
inputs: Serbia
function: SelectBetween
dependencies: 0
1
inputs: population
greater
Answer: Serbia