Question: What is the connection between Rosemary's Baby (the one that has Ruth Gordon as a cast member) to supernatural?
Choices:
derivative work
signatory
voice actor
religious order
fabrication method
main subject
start point
set in period
film distribute region
sex or gender
Program:
function: Find
inputs: Ruth Gordon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Rosemary's Baby
function: And
dependencies: 1
2
function: Find
inputs: supernatural
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rosemary's Baby" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ruth Gordon" . ?e_2 <pred:name> "supernatural" . ?e_1 ?p ?e_2 .  }
Answer: main subject