Question: What is the ending date that John Abraham whose occupation is politician resides in Tanzani?
Choices: 1989-09-14
1985-05-17
1983-03-01
1945-07-26
1972
1929-12-16
1905-04-30
1997-01-03
1984-07-01
1918-11-08
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Abraham" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Tanzania" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Find
inputs: Tanzania
function: QueryRelationQualifier
dependencies: 3
4
inputs: residence
end time
Answer: 1972