Question: Which film has Cory Monteith and Chris Colfer as cast members?
Choices:
Curse of the Golden Flower
Pleasantville
Monte Carlo
Training Day
Rebecca
A Prairie Home Companion
Talk to Her
Glee: The 3D Concert Movie
Glee
The Fifth Element
Answer: Glee: The 3D Concert Movie
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Cory Monteith" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Chris Colfer" .  }
Program:
function: Find
inputs: Cory Monteith
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Chris Colfer
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6