Question: What is the ending date that Winchester (whose TOID is 4000000074565988) is the capital of England (that is the country of Southampton)?
Choices: 1995-12-31
1840
1988-02-28
2017
1976-03-15
1200
1943
2008-07-01
1944-08-25
2017-04-16
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Winchester" . ?e_1 <TOID> ?pv . ?pv <pred:value> "4000000074565988" . ?e_2 <pred:name> "England" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Southampton" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Winchester
function: FilterStr
dependencies: 0
inputs: TOID
4000000074565988
function: Find
inputs: Southampton
function: Relate
dependencies: 2
inputs: country
forward
function: Find
inputs: England
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: capital of
end time
Answer: 1200