Question: What is the ending date that James K. Polk holds the position of speaker of the United States House of Representatives?
Choices:
1949-12-07
1933-01-30
1975-12-04
1839-03-04
1947-06-21
1956-10-20
1845-03-10
1912-05-15
1665
1813
Answer: 1839-03-04
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James K. Polk" . ?e_2 <pred:name> "speaker of the United States House of Representatives" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: James K. Polk
function: Find
inputs: speaker of the United States House of Representatives
function: QueryRelationQualifier
dependencies: 0
1
inputs: position held
end time