Question: Andy Hallett is cast as Lorne in which TV series titled Angel?
Choices:
Dancing with the Stars
Robot Chicken
American Horror Story
Angel
Seinfeld
Six Feet Under
Saturday Night's Main Event
Babylon 5
Game of Thrones
Bleak House
Answer: Angel
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <title> ?pv . ?pv <pred:value> "Angel" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Andy Hallett" . [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Lorne" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Angel
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Andy Hallett
function: Relate
dependencies: 3
inputs: cast member
backward
function: QFilterStr
dependencies: 4
inputs: character role
Lorne
function: FilterConcept
dependencies: 5
inputs: television series
function: And
dependencies: 2
6
function: What
dependencies: 7