Question: What is the connection between Christopher Wren (the one whose date of death is 1658-05-29) to rector?
Choices:
has parts of the class
foundational text
lifestyle
occupation
manufacturer
place of origin (Switzerland)
military casualty classification
located in the administrative territorial entity
interests
basin country
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Wren" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1658-05-29"^^xsd:date . ?e_2 <pred:name> "rector" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Christopher Wren
function: FilterDate
dependencies: 0
inputs: date of death
1658-05-29
=
function: Find
inputs: rector
function: QueryRelation
dependencies: 1
2