Question: Which province of Italy that is an administrative division of Piedmont (whose ISO 3166-2 code is IT-21) has the largest area?
Choices:
Province of Potenza
Province of Naples
Province of Salerno
Province of Brescia
province of Milan
Province of Cuneo
Province of Turin
Province of Palermo
Province of Cagliari
Province of Como
Answer: Province of Cuneo
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Piedmont" . ?e_1 <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "IT-21" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Piedmont
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
IT-21
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: SelectAmong
dependencies: 3
inputs: area
largest