Question: Did the John Davis whose alma mater was London School of Economics die sometime other than 1974?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "John Davis" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "London School of Economics" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1974 ) .  }
Program:
function: Find
inputs: London School of Economics
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1974
!=