Question: Per this statement's start time, which is 1564, what's the local dialing code of the town which contained the home of William Shakespeare, who died on 1616-04-23?
Choices:
0729
02407
219
01789
913
177
669
01704
02058
360
Answer: 01789
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <residence> ?e . ?e_1 <pred:name> "William Shakespeare" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1616-04-23"^^xsd:date . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1564 . ?e <local_dialing_code> ?pv .  }
Program:
function: Find
inputs: William Shakespeare
function: FilterDate
dependencies: 0
inputs: date of death
1616-04-23
=
function: Relate
dependencies: 1
inputs: residence
forward
function: QFilterYear
dependencies: 2
inputs: start time
1564
=
function: FilterConcept
dependencies: 3
inputs: town
function: QueryAttr
dependencies: 4
inputs: local dialing code