Question: Which one of these have more people living there, South Tyrol or Province of Cagliari?
Choices: Province of Turin
Province of Potenza
Province of Como
province of Milan
South Tyrol
Province of Cuneo
Province of Naples
Province of Salerno
Province of Palermo
Province of Cagliari
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Tyrol" .  } UNION { ?e <pred:name> "Province of Cagliari" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: South Tyrol
function: Find
inputs: Province of Cagliari
function: SelectBetween
dependencies: 0
1
inputs: population
greater
Answer: Province of Cagliari