Question: Does Trentino or Province of Cagliari have the larger population size?
Choices:
Province of Rome
Province of Cuneo
Province of Potenza
Province of Salerno
Province of Naples
province of Milan
Trentino
Province of Palermo
Province of Como
Province of Cagliari
Program:
function: Find
inputs: Trentino
function: Find
inputs: Province of Cagliari
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trentino" .  } UNION { ?e <pred:name> "Province of Cagliari" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Province of Cagliari