Question: Does Pennsylvania city in Lancaster County that shares border with Dauphin County have dialing code of 390?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lancaster County" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Dauphin County" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "390" .  }
Program:
function: Find
inputs: Dauphin County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Lancaster County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of Pennsylvania
function: QueryAttr
dependencies: 5
inputs: local dialing code
function: VerifyStr
dependencies: 6
inputs: 390