Question: Which province in Italy has the largest area?
Choices:
Province of Cagliari
Province of Cuneo
South Tyrol
Trentino
Province of Turin
province of Milan
Province of Como
Province of Brescia
Province of Salerno
Province of Palermo
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: province of Italy
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <country> ?e_1 . ?e_1 <pred:name> "Italy" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Tyrol