Question: John Davis (whose date of death is 1854-04-19) was the Governor of Massachusetts until what time?
Choices: 2014-10-26
2010-04-05
1771
1774
2005-05-16
2004-05-19
1835-03-01
1931-04-11
1983-06-15
1939-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1854-04-19"^^xsd:date . ?e_2 <pred:name> "Governor of Massachusetts" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of death
1854-04-19
=
function: Find
inputs: Governor of Massachusetts
function: QueryRelationQualifier
dependencies: 1
2
inputs: position held
end time
Answer: 1835-03-01