Question: When did Andrew Jackson, who was a participant of the 5th United States Congress became the President of the United States?
Choices:
1922-01-01
1940-01-01
2008-05-16
1936-06-09
1976-02-04
1899-04-22
1829-03-04
1974-11-21
1792-09-21
2007-07-09
Program:
function: Find
inputs: 5th United States Congress
function: Relate
dependencies: 0
inputs: participant
forward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 1
2
function: Find
inputs: President of the United States
function: QueryRelationQualifier
dependencies: 3
4
inputs: position held
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Andrew Jackson" . ?e_3 <participant> ?e_1 . ?e_3 <pred:name> "5th United States Congress" . ?e_2 <pred:name> "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: 1829-03-04