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