Question: What is the end time of Edmonton (the one whose subreddit is Edmonton)'s location in the Northwest Territories?
Choices: 1943-11-05
1936-01-05
1928
2010-05-16
1815-07-07
1958-01-01
1945-05-07
2008-03-23
2017-10-05
1905-09-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Edmonton" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "Edmonton" . ?e_2 <pred:name> "Northwest Territories" . ?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: Edmonton
function: FilterStr
dependencies: 0
inputs: subreddit
Edmonton
function: Find
inputs: Northwest Territories
function: QueryRelationQualifier
dependencies: 1
2
inputs: located in the administrative territorial entity
end time
Answer: 1905-09-01