Question: Which film is designed by Ken Adam and has distributor as Paramount Pictures ?
Choices:
Barry Lyndon
Star Trek: Nemesis
Dr. No
Morocco
The Madness of King George
The Godfather
It
In & Out
The Elephant Man
Hold Back the Dawn
Answer: In & Out
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Ken Adam" .  ?e <distributor> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  }
Program:
function: Find
inputs: Ken Adam
function: Relate
dependencies: 0
inputs: production designer
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 3
inputs: distributor
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6