Question: when did John Stephenson who is a professor start living in Lahore?
Choices:
1988-04-30
1992-08-15
1992-11-01
1967-01-02
2008-09-21
1906
1977-01-01
1721-10-22
1100
1968-04-24
Answer: 1906
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Stephenson" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "professor" . ?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: professor
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: John Stephenson
function: And
dependencies: 1
2
function: Find
inputs: Lahore
function: QueryRelationQualifier
dependencies: 3
4
inputs: residence
start time