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