Question: What is the end time for Beck (the one that is the citizen of Germany) to work in the Berlin location?
Choices: 2003
1945-07-26
1991-11-08
2007-03-25
2013-12-21
1813-11-19
1917-08-31
1
2013-01-03
1927-04-12
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Beck" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Germany" . ?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: Germany
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Beck
function: And
dependencies: 1
2
function: Find
inputs: Berlin
function: QueryRelationQualifier
dependencies: 3
4
inputs: work location
end time
Answer: 2003