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