Question: When did Beck (the one that was born in Leipzig) stop working in Berlin?
Choices:
1888
2007-12-19
1923
1924-01-21
1933-03-27
1991-09-23
2005-01-16
1902-05-31
2003
1858
Answer: 2003
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beck" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Leipzig" . ?e_2 <pred:name> "Berlin" . ?e_1 <work_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Leipzig
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Beck
function: And
dependencies: 1
2
function: Find
inputs: Berlin
function: QueryRelationQualifier
dependencies: 3
4
inputs: work location
end time