Question: When did Abraham Lincoln (the one that hold the position President of the United States) become a member of political party Whig Party?
Choices:
1832-08-30
1792
2005-07-31
1957-09-17
2012-03-01
1994-11-17
1993-01-21
1996-07-17
1834
1526
Answer: 1834
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Abraham Lincoln" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "President of the United States" . ?e_2 <pred:name> "Whig Party" . ?e_1 <member_of_political_party> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_political_party> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: President of the United States
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: Abraham Lincoln
function: And
dependencies: 1
2
function: Find
inputs: Whig Party
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of political party
start time