Question: Whom did H. H. Asquith replace as Prime Minister of the United Kingdom?
Choices: Alonzo B. Cornell
Martin Van Buren
Benjamin Harrison
Joe Clark
John C. Calhoun
William L. Marcy
Joseph C. Yates
New York City
Henry Campbell-Bannerman
Bill Clinton
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "H. H. Asquith" . ?e_2 <pred:name> "Prime Minister of the United Kingdom" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <replaces> ?qpv .  }
Program:
function: Find
inputs: H. H. Asquith
function: Find
inputs: Prime Minister of the United Kingdom
function: QueryRelationQualifier
dependencies: 0
1
inputs: position held
replaces
Answer: Henry Campbell-Bannerman