Question: Martin Donovan, born 1950-01-01, is related in what way to the role of film producer?
Choices:
significant event
narrative role
airline hub
follows
headquarters location
occupation
given name
talk show guest
depicted by
director/manager
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Martin Donovan" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1950-01-01"^^xsd:date . ?e_2 <pred:name> "film producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Martin Donovan
function: FilterDate
dependencies: 0
inputs: date of birth
1950-01-01
=
function: Find
inputs: film producer
function: QueryRelation
dependencies: 1
2