Question: Until what time was Wes Sussex located in England, the residence of Robert Downey Jr. ?
Choices: 1581-01-13
1990-10-03
2009-09-18
2016-12-12
1994
2002
1917-01-01
1974-12-08
1890
2012-09-16
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "West Sussex" . ?e_2 <pred:name> "England" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Robert Downey Jr." . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: West Sussex
function: Find
inputs: Robert Downey Jr.
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: England
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: located in the administrative territorial entity
end time
Answer: 1994