Question: Is the local town which is the capital of Kettering (the one that is an administrative division of Northamptonshire) using the local dialing code of 0422?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Kettering" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Northamptonshire" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "0422" .  }
Program:
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Kettering
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: local dialing code
function: VerifyStr
dependencies: 6
inputs: 0422