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