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