Question: How is Christopher Nolan who died on 2009-02-20 related to writer?
Choices:
organisation directed from the office or person
present in work
occupation
author
head coach
owned by
located in the administrative territorial entity
basin country
given name
employer
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Nolan" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2009-02-20"^^xsd:date . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Christopher Nolan
function: FilterDate
dependencies: 0
inputs: date of death
2009-02-20
=
function: Find
inputs: writer
function: QueryRelation
dependencies: 1
2