Question: For the birthplace of James Mason (the one that died in the manner of natural causes), is the town's local dialing code 6109?
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_1 <place_of_birth> ?e . ?e_1 <pred:name> "James Mason" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> "natural causes" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "6109" .  }
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: James Mason
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: local dialing code
function: VerifyStr
dependencies: 6
inputs: 6109