Question: What is the ending date that Greenwich (whose country is the United Kingdom) is located in Kent (whose capital is Chatham)?
Choices:
2002-02-26
1888
1918-03-02
1851-01-01
2013-06-30
2000-10-01
1998-06-21
2004-08-29
1904-10-08
1979-06-04
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 <capital_of> ?e_2 . ?e_4 <pred:name> "Chatham" . ?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: Chatham
function: Relate
dependencies: 4
inputs: capital of
forward
function: Find
inputs: Kent
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: located in the administrative territorial entity
end time