Question: What person holds the position of Prime Minister of the United Kingdom until the ending date 1806-01-23?
Choices: Tony Blair
Winston Churchill
Arthur Wellesley, 1st Duke of Wellington
Rahul Dev Burman
William Henry Harrison
Margaret Thatcher
Max Fleischer
David Byrne
William Pitt the Younger
Richard Gere
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 ] <end_time> ?qpv . ?qpv <pred:date> "1806-01-23"^^xsd:date .  }
Program:
function: Find
inputs: Prime Minister of the United Kingdom
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterDate
dependencies: 1
inputs: end time
1806-01-23
=
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
Answer: William Pitt the Younger