Question: When did Gordon Brown (the one that is educated at University of Edinburgh) stop holding the postiion of Prime Minister of the United Kingdom?
Choices: 1990-02-04
1291
1997-01-01
2001-03-26
2006-01-01
2007-01-03
1987
1845-03-04
2010-05-11
1943-01-07
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Edinburgh" . ?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 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: University of Edinburgh
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Find
inputs: Prime Minister of the United Kingdom
function: QueryRelationQualifier
dependencies: 3
4
inputs: position held
end time
Answer: 2010-05-11