Question: Of Italian provinces belonging to the country of Italy, which occupies the least area?
Choices:
Province of Como
Province of Palermo
South Tyrol
Province of Salerno
Province of Naples
province of Milan
Trentino
Province of Rome
Province of Potenza
Province of Cuneo
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
smallest
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 ?v LIMIT 1
Answer: Province of Naples