Question: Who replaced Margaret Thatcher as Prime Minister of the United Kingdom?
Choices: David B. Hill
John Major
Jimmy Carter
Edward VIII
James Monroe
Rick Perry
Theodore Roosevelt
Dick Cheney
Clement Attlee
Robert M. T. Hunter
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Margaret Thatcher" . ?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 ] <replaced_by> ?qpv .  }
Program:
function: Find
inputs: Margaret Thatcher
function: Find
inputs: Prime Minister of the United Kingdom
function: QueryRelationQualifier
dependencies: 0
1
inputs: position held
replaced by
Answer: John Major