Question: When did Greenwich (whose country is United Kingdom) stop being located in Kent (which contains Royal Tunbridge Wells)?
Choices:
1931
2001-05-22
1961-05-31
1973-03-30
2017-05-15
1888
2006-05-14
1901-01-01
2017-11-23
1946
Answer: 1888
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Greenwich" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Kent" . ?e_4 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_4 <pred:name> "Royal Tunbridge Wells" . ?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: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Greenwich
function: And
dependencies: 1
2
function: Find
inputs: Royal Tunbridge Wells
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Kent
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: located in the administrative territorial entity
end time