Question: When did James K. Polk cease to be the head of the United States of America's government?
Choices:
1849-03-04
1926
1939-05-04
1914-01-01
1876-10-07
1920-08-10
1936-02-10
1832-12-28
1932-01-01
1949
Program:
function: Find
inputs: United States of America
function: Find
inputs: James K. Polk
function: QueryRelationQualifier
dependencies: 0
1
inputs: head of government
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United States of America" . ?e_2 <pred:name> "James K. Polk" . ?e_1 <head_of_government> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <head_of_government> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1849-03-04