Question: Which TV series episode with production code 150 includes Jonathan Frakes as a cast member?
Choices:
Brothers
The Host
The Offspring
Angel
Evolution
P.S. I Love You
Savages
Tin Man
Precious
A Christmas Carol
Answer: Evolution
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <production_code> ?pv . ?pv <pred:value> "150" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jonathan Frakes" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: production code
150
function: FilterConcept
dependencies: 1
inputs: television series episode
function: Find
inputs: Jonathan Frakes
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: And
dependencies: 2
5
function: What
dependencies: 6