Question: Which has the smallest population among the provinces of Italy that are a part of Tyrol that was founded on 1140-01-01?
Choices:
Province of Salerno
Province of Turin
Province of Cagliari
Province of Rome
Trentino
Province of Naples
Province of Cuneo
Province of Como
Province of Potenza
South Tyrol
Answer: Trentino
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Tyrol" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1140-01-01"^^xsd:date . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tyrol
function: FilterDate
dependencies: 0
inputs: inception
1140-01-01
=
function: Relate
dependencies: 1
inputs: has part
forward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: SelectAmong
dependencies: 3
inputs: population
smallest