Question: What television series has Carroll O'Connor as a cast member and whose genre is police procedural?
Choices: The Shield
Hill Street Blues
NYPD Blue
All in the Family
Miami Vice
American Horror Story
In the Heat of the Night
CSI: Crime Scene Investigation
Bleak House
Robot Chicken
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Carroll O'Connor" .  ?e <genre> ?e_2 . ?e_2 <pred:name> "police procedural" .  }
Program:
function: Find
inputs: Carroll O'Connor
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: police procedural
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: In the Heat of the Night