Question: What television series is titled Happy Days and has Dean Devlin as a cast member?
Choices:
Six Feet Under
Game of Thrones
Happy Days
Saturday Night's Main Event
Seinfeld
Babylon 5
American Horror Story
Robot Chicken
Phineas and Ferb
Bleak House
Program:
function: Find
inputs: Dean Devlin
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Happy Days
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dean Devlin" .  ?e <title> ?pv . ?pv <pred:value> "Happy Days" .  }
Answer: Happy Days