Question: Is 242 the local dialing code of a city in the United states, where John Wood (the one that hold the position lieutenant governor) died?
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 the United States" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "John Wood" . ?e_1 <position_held> ?e_2 . ?e_2 <pred:name> "lieutenant governor" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "242" .  }
Program:
function: Find
inputs: lieutenant governor
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: John Wood
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: local dialing code
function: VerifyStr
dependencies: 6
inputs: 242