Question: What is the title of the film that casted Harry Shum (the one that is a cast member of Glee)?
Choices:
Glee: The 3D Concert Movie
The Chronicles of Narnia: Prince Caspian
When in Rome
Tom Jones
Nashville
לבנון
Michael Collins
Airport
Buffy the Vampire Slayer
Sherlock Holmes
Answer: Glee: The 3D Concert Movie
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Harry Shum" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "Glee" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Glee
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Harry Shum
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title