Question: What is the end time of Winchester (postal code SO23), whose country is England (which has an inception time of 1000)?
Choices: 1919-01-01
1697
1945-04-16
1707-04-30
1936-01-05
1920-09-12
2000-08-01
1972-09-11
1176
2011-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Winchester" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "SO23" . ?e_2 <pred:name> "England" . ?e_2 <inception> ?pv_1 . ?pv_1 <pred:year> 1000 . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Winchester
function: FilterStr
dependencies: 0
inputs: postal code
SO23
function: Find
inputs: England
function: FilterYear
dependencies: 2
inputs: inception
1000
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: country
end time
Answer: 1707-04-30