Question: What is the local dialing code of the province of Italy that contains the administrative division Naples (which has a Wikidata property model)?
Choices:
0737
944
081
601
10
20
01738
0481
6122
08936
Program:
function: Find
inputs: model
function: Relate
dependencies: 0
inputs: Wikidata property
forward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: province of Italy
function: QueryAttr
dependencies: 5
inputs: local dialing code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Naples" . ?e_2 <Wikidata_property> ?e_1 . ?e_2 <pred:name> "model" .  ?e <local_dialing_code> ?pv .  }
Answer: 081