Question: Which has the smallest population among the Italy provinces that are a part of Tyrol whose licence plate code is BZ?
Choices:
Province of Salerno
Province of Cuneo
province of Milan
Province of Como
Province of Rome
Province of Turin
Trentino
Province of Naples
South Tyrol
Province of Cagliari
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 <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "BZ" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tyrol
function: FilterStr
dependencies: 0
inputs: licence plate code
BZ
function: Relate
dependencies: 1
inputs: has part
forward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: SelectAmong
dependencies: 3
inputs: population
smallest