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