Question: When did John Abraham (who lives in the United States of America) stop living in Tanzania?
Choices:
1916-12-05
1939-05-04
1976-12-04
2010-02-08
1972
2015-01-01
1920-07-11
2017-03-31
2004-07-14
1930-03-28
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Find
inputs: Tanzania
function: QueryRelationQualifier
dependencies: 3
4
inputs: residence
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Abraham" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "United States of America" . ?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 .  }
Answer: 1972