Question: How is The Ring produced by DreamWorks related to psychological horror?
Choices:
make-up artist
voice type
located in or next to body of water
professional or sports partner
political ideology
capital
depicted by
applies to jurisdiction
lowest point
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Ring" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "DreamWorks" . ?e_2 <pred:name> "psychological horror" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: DreamWorks
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Ring
function: And
dependencies: 1
2
function: Find
inputs: psychological horror
function: QueryRelation
dependencies: 3
4