Question: Which has the largest population among the Italy provinces that are a part of Tyrol?
Choices:
Trentino
Province of Cuneo
province of Milan
Province of Cagliari
Province of Rome
Province of Naples
South Tyrol
Province of Potenza
Province of Turin
Province of Salerno
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
largest
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 DESC(?v) LIMIT 1
Answer: South Tyrol