Question: When did graphic designer Beck stop working in Berlin?
Choices:
1978-09-27
1540
1976-11-01
1990-05-03
2003
2009-12-04
1968-08-16
1943-01-01
2017-06-05
2014-10-30
Answer: 2003
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beck" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "graphic designer" . ?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: graphic designer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Beck
function: And
dependencies: 1
2
function: Find
inputs: Berlin
function: QueryRelationQualifier
dependencies: 3
4
inputs: work location
end time