Question: When did Barack Obama stop living in Chicago where Jennifer Morrison was born?
Choices:
1969-03-28
2009-01-20
-323
1927-04-12
2014-10-30
1714
1991-08-23
2010-01-01
2015-01-03
1829
Answer: 2009-01-20
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Barack Obama" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Jennifer Morrison" . ?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: Barack Obama
function: Find
inputs: Jennifer Morrison
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: residence
end time