Question: When did John Adams from Boston begin in the position of Vice President of the United States?
Choices:
2007-06-08
1789-04-21
1915-07-16
1851-03-04
1905-06-07
2004-05-14
1873-11-17
1095
2011-09-27
1945-11-15
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: Vice President of the United States
function: QueryRelationQualifier
dependencies: 3
4
inputs: position held
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Boston" . ?e_2 <pred:name> "Vice President of the United States" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1789-04-21