Question: What is the relationship between Robert Shaw, who died 1978-08-28, and actor?
Choices:
basin country
different from
game mode
distribution
field of this occupation
candidacy in election
occupation
draft pick from school
illustrator
lifestyle
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Shaw" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1978-08-28"^^xsd:date . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Shaw
function: FilterDate
dependencies: 0
inputs: date of death
1978-08-28
=
function: Find
inputs: actor
function: QueryRelation
dependencies: 1
2