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