Question: What film has Keith Carradine and Gwyneth Paltrow as members of the cast?
Choices:
Pleasantville
The Talented Mr. Ripley
The Royal Tenenbaums
A Prairie Home Companion
Mrs. Parker and the Vicious Circle
Nashville
Great Expectations
Emma
Cowboys & Aliens
Iron Man
Program:
function: Find
inputs: Keith Carradine
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Gwyneth Paltrow
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Keith Carradine" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Gwyneth Paltrow" .  }
Answer: Mrs. Parker and the Vicious Circle