Question: What is the name of the TV episode with Scott Glen in its cast?
Choices:
Gigi
Jarhead
Easy Rider
Take Shelter
Robin Hood: Prince of Thieves
Rambo III
Midnight Express
The Tragedy of Hamlet, Prince of Denmark
New-York Daily Times
Love Is a Many-Splendored Thing
Answer: Take Shelter
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Scott Glenn" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Scott Glenn
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series episode
function: QueryAttr
dependencies: 2
inputs: title