Question: How are Randy Quaid and Frankenstein, which was published on 1992-01-01, related?
Choices: cast member
coextensive with
chief executive officer
continent
sponsor
cause of death
partially contains
designed by
director/manager
heritage designation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frankenstein" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1992-01-01"^^xsd:date . ?e_2 <pred:name> "Randy Quaid" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frankenstein
function: FilterDate
dependencies: 0
inputs: publication date
1992-01-01
=
function: Find
inputs: Randy Quaid
function: QueryRelation
dependencies: 1
2
Answer: cast member