Question: When did John Adams, who died in Franklin, die?
Choices:
1715-09-01
1992-08-04
1864-11-30
1951-04-29
1837-02-10
1938-04-27
2012-12-17
1989-02-14
2008-11-25
1855-02-23
Answer: 1864-11-30
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Adams" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Franklin" .  ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: Franklin
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death