Question: When was John Davis, born 13th January 1787, in the position of Governor of Massachusetts ?
Choices:
2015-11-27
1834-01-09
1982-06-12
1980-03-03
2014-07-09
1812-06-18
1924-05-04
2000-02-06
2009-09-22
1850
Answer: 1834-01-09
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1787-01-13"^^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 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of birth
1787-01-13
=
function: Find
inputs: Governor of Massachusetts
function: QueryRelationQualifier
dependencies: 1
2
inputs: position held
start time