Question: When did  William James (the one that has the occupation of politician) stop being the citizen of Kingdom of Great Britain?
Choices: 1804-06-30
1800-02-17
1981-04-08
1801-01-01
1897-01-01
1680
1953-07-27
2007-04-23
1
2018-03-21
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "William James" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Kingdom of Great Britain" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: William James
function: And
dependencies: 1
2
function: Find
inputs: Kingdom of Great Britain
function: QueryRelationQualifier
dependencies: 3
4
inputs: country of citizenship
end time
Answer: 1801-01-01