Question: Which film has Amanda Seyfried and Glenn Close as cast members?
Choices:
A Prairie Home Companion
Air Force One
Mean Girls
Nine Lives
Pinocchio
Mars Attacks!
Albert Nobbs
Rebecca
Mamma Mia!
Talk to Her
Answer: Nine Lives
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Amanda Seyfried" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Glenn Close" .  }
Program:
function: Find
inputs: Amanda Seyfried
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Glenn Close
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6