Question: When was the John Locke who died in Boston born?
Choices:
1946-06-28
1906-12-30
1969-12-04
1764-02-14
1964-09-05
1970-12-01
1949-09-20
1949-10-12
1945-05-28
1956-07-31
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Locke
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Locke" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Boston" .  ?e <date_of_birth> ?pv .  }
Answer: 1764-02-14