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