Question: What is the connection between Robert Patrick (the one whose date of birth is 1937-09-27) to writer?
Choices:
influenced by
original film format
movement
exclave of
lowest point
captain
month of the year
manner of death
designed by
occupation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Patrick" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1937-09-27"^^xsd:date . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Patrick
function: FilterDate
dependencies: 0
inputs: date of birth
1937-09-27
=
function: Find
inputs: writer
function: QueryRelation
dependencies: 1
2