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