Question: Does the province of Italy that has Naples as its capital (the one that is the twinned administrative body of Budapest), have its local dialing code equal to 01534?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Naples" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Budapest" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "01534" .  }
Program:
function: Find
inputs: Budapest
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: province of Italy
function: QueryAttr
dependencies: 5
inputs: local dialing code
function: VerifyStr
dependencies: 6
inputs: 01534
Answer: no