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