Question: Who was the Prime Minister of the United Kingdom prior to David Lloyd George?
Choices:
Margaret Thatcher
H. H. Asquith
William Henry Harrison
Max Fleischer
Richard Gere
Winston Churchill
David Byrne
Sylvester Stallone
William Pitt the Younger
Gordon Brown
Answer: H. H. Asquith
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <position_held> ?e_1 . ?e_1 <pred:name> "Prime Minister of the United Kingdom" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <replaced_by> ?qpv . ?qpv <pred:value> "David Lloyd George" .  }
Program:
function: Find
inputs: Prime Minister of the United Kingdom
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterStr
dependencies: 1
inputs: replaced by
David Lloyd George
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3