Question: What is the date of death of John Locke, the pianist?
Choices:
1812-04-20
1768-02-02
2008-08-10
1966-08-15
1972-05-23
2006-08-04
1939-03-21
2005-02-04
1969-07-03
1970-01-01
Answer: 2006-08-04
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Locke" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "pianist" .  ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: pianist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Locke
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death