Question: What television series has the title Friends and has Matthew Perry as a cast member?
Choices: Game of Thrones
Robot Chicken
Saturday Night's Main Event
Friends
Seinfeld
American Horror Story
Bleak House
The Good Wife
Beverly Hills, 90210
Ally McBeal
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <title> ?pv . ?pv <pred:value> "Friends" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Matthew Perry" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Friends
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Matthew Perry
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Friends