Question: When did John Stephenson (the one that is buried in Kensal Green Cemetery) start living in Lahore?
Choices:
1941
1801
1973
1025
2000-11-18
1813-03-04
1865-06-13
1945-06-29
1936-07-20
1906
Answer: 1906
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Stephenson" . ?e_1 <place_of_burial> ?e_3 . ?e_3 <pred:name> "Kensal Green Cemetery" . ?e_2 <pred:name> "Lahore" . ?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: Kensal Green Cemetery
function: Relate
dependencies: 0
inputs: place of burial
backward
function: Find
inputs: John Stephenson
function: And
dependencies: 1
2
function: Find
inputs: Lahore
function: QueryRelationQualifier
dependencies: 3
4
inputs: residence
start time