Question: When did Alan Bates (the one that has the occupation of politician) die?
Choices: 2016-08-05
1967-06-10
1985-05-18
1723-03-08
1992-03-11
1987-09-13
1773-12-24
1999-12-12
1980-10-04
1973-09-29
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Alan Bates" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Alan Bates
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
Answer: 2016-08-05