Question: When did the journalist John Williams die?
Choices:
1791-12-05
1818-01-01
1983-10-10
2008-03-24
1977-01-14
1980-10-04
1956-05-06
1966-08-15
2013-05-26
2016-10-09
Program:
function: Find
inputs: journalist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Williams" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "journalist" .  ?e <date_of_death> ?pv .  }
Answer: 1818-01-01