Question: What is the relationship between The Siege (the one whose script is written by Edward Zwick) and Annette Bening?
Choices:
published in
cast member
applies to jurisdiction
head of state
family name
part of the series
languages spoken, written or signed
director/manager
killed by
theme music
Program:
function: Find
inputs: Edward Zwick
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Siege
function: And
dependencies: 1
2
function: Find
inputs: Annette Bening
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Siege" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Edward Zwick" . ?e_2 <pred:name> "Annette Bening" . ?e_1 ?p ?e_2 .  }
Answer: cast member