Question: When did Peter Capaldi start living in London, the birthplace of Imelda Staunton?
Choices:
1805-06-04
1845-03-04
2017-01-30
2008-08-08
1996-04-01
1994-04-13
1871
1983
1993-09-01
1945-10-31
Answer: 1983
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Peter Capaldi" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Imelda Staunton" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Peter Capaldi
function: Find
inputs: Imelda Staunton
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: residence
start time