Question: Until when did Robert Louis Stevenson live in Bournemouth (the one whose TOID is 4000000074553958) ?
Choices:
1915-06-12
1898-01-01
1954-08-01
1814-05-04
1918-01-01
1830-05-13
2011-07-09
2003-05-27
1889
2017-03-28
Program:
function: Find
inputs: Robert Louis Stevenson
function: Find
inputs: Bournemouth
function: FilterStr
dependencies: 1
inputs: TOID
4000000074553958
function: QueryRelationQualifier
dependencies: 0
2
inputs: residence
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert Louis Stevenson" . ?e_2 <pred:name> "Bournemouth" . ?e_2 <TOID> ?pv . ?pv <pred:value> "4000000074553958" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1889