Question: What is the relationship between The Ring (the one that was nominated for Saturn Award for Best Actress) and Hans Zimmer (the one that is a performer of As Good as It Gets)?
Choices:
doctoral advisor
named after
composer
narrative role
applies to jurisdiction
start point
capital
located in or next to body of water
symptom of
appears in the form of
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Ring" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Saturn Award for Best Actress" . ?e_2 <pred:name> "Hans Zimmer" . ?e_4 <performer> ?e_2 . ?e_4 <pred:name> "As Good as It Gets" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Saturn Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Ring
function: And
dependencies: 1
2
function: Find
inputs: As Good as It Gets
function: Relate
dependencies: 4
inputs: performer
forward
function: Find
inputs: Hans Zimmer
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7