Question: Which director of The Stepford Wives, distributed by Columbia Pictures, is also in the cast of The Guns of Navarone?
Choices:
Anthony Quayle
Max Fleischer
Richard Gere
Simon Cowell
Rahul Dev Burman
Bryan Forbes
David Byrne
David Niven
Anthony Quinn
Sylvester Stallone
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: The Guns of Navarone
function: Relate
dependencies: 6
inputs: cast member
forward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "The Stepford Wives" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Columbia Pictures" .  ?e_3 <cast_member> ?e . ?e_3 <pred:name> "The Guns of Navarone" .  }
Answer: Bryan Forbes