Question: When does John Quincy Adams (the one whose birthday is 1825) start working in the NYC location?
Choices: 1978-12-18
1972-09-11
2006-12-14
1992-09-11
1979-09-29
1979-03-07
2013-07-16
1998-06-06
1993-01-13
1856
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Quincy Adams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 1825 . ?e_2 <pred:name> "New York City" . ?e_1 <work_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: John Quincy Adams
function: FilterYear
dependencies: 0
inputs: date of birth
1825
=
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 1
2
inputs: work location
start time
Answer: 1856