Question: How is John Davis who died on 1901-08-01 related to Springfield whose local dialing code is 217?
Choices: had as last meal
production company
drafted by
place of birth
talk show guest
film regional debut venue
set in period
notable work
military rank
has contributing factor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1901-08-01"^^xsd:date . ?e_2 <pred:name> "Springfield" . ?e_2 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "217" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of death
1901-08-01
=
function: Find
inputs: Springfield
function: FilterStr
dependencies: 2
inputs: local dialing code
217
function: QueryRelation
dependencies: 1
3
Answer: place of birth