Question: You can find West Yorkshire in England (the one that has Staffordshire), tell me the end time
Choices: 1941-04-18
1928-08-12
1985-05-17
1988-04-30
2012-01-01
1943-01-07
1966-04-01
1994
1939-01-01
1892-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "West Yorkshire" . ?e_2 <pred:name> "England" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Staffordshire" . ?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 Yorkshire
function: Find
inputs: Staffordshire
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
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