Question: Which comedy TV series includes cast member Michael McDonald, whose Twitter handle is mcdonaldcomedy?
Choices:
Six Feet Under
Atlanta
Seinfeld
American Horror Story
Animaniacs
Saturday Night's Main Event
Game of Thrones
Mad TV
Bleak House
Robot Chicken
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Michael McDonald
function: FilterStr
dependencies: 3
inputs: Twitter username
mcdonaldcomedy
function: Relate
dependencies: 4
inputs: cast member
backward
function: FilterConcept
dependencies: 5
inputs: television series
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "television comedy" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Michael McDonald" . ?e_2 <Twitter_username> ?pv . ?pv <pred:value> "mcdonaldcomedy" .  }
Answer: Mad TV