Question: Who took the place of James K. Polk in the office of speaker of the US House of Representatives?
Choices:
Australian pound
Thomas Jefferson
Dan Quayle
John F. Kennedy
Jimmy Carter
Robert M. T. Hunter
John Quincy Adams
Rutherford B. Hayes
Normandy
Nouvelle-Aquitaine
Answer: Robert M. T. Hunter
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 ] <replaced_by> ?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
replaced by