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