Question: Which province in Italy with a local dialing code of 081 has the smallest area?
Choices:
Province of Rome
Province of Brescia
province of Milan
Province of Salerno
Province of Naples
Province of Cagliari
Province of Potenza
Province of Como
Province of Cuneo
Province of Palermo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
081
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 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "081" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Province of Naples