Question: What is the final date that Abraham Lincoln (who uses English as the native language) is a member of the political party called the Whig Party?
Choices:
1940-10-31
1854
1957
2013-11-15
1979-01-01
1968
1941-07-28
1883
1876
1941-06-28
Answer: 1854
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Abraham Lincoln" . ?e_1 <native_language> ?e_3 . ?e_3 <pred:name> "English" . ?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 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: native language
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
end time