Question: The John Davis who died on 2017-01-15 is related in what way to the job of historian?
Choices: honorific suffix
licensed to broadcast to
occupation
has parts of the class
enclave within
health specialty
foundational text
has contributing factor
professional or sports partner
creator
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2017-01-15"^^xsd:date . ?e_2 <pred:name> "historian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of death
2017-01-15
=
function: Find
inputs: historian
function: QueryRelation
dependencies: 1
2
Answer: occupation