Question: Out of the provinces of Italy that were founded before 1972, which is the smallest in area?
Choices:
Province of Turin
Province of Brescia
Province of Salerno
Province of Rome
Province of Cuneo
South Tyrol
province of Milan
Province of Como
Province of Potenza
Province of Cagliari
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1972
<
function: FilterConcept
dependencies: 1
inputs: province of Italy
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1972 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: province of Milan