Question: In what TV series was Joshua Jackson cast in the role of Peter Bishop?
Choices:
Six Feet Under
Fringe
Seinfeld
American Horror Story
Babylon 5
Game of Thrones
Phineas and Ferb
Dancing with the Stars
Bleak House
Robot Chicken
Answer: Fringe
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Joshua Jackson" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Peter Bishop" .  }
Program:
function: Find
inputs: Joshua Jackson
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
Peter Bishop
function: FilterConcept
dependencies: 2
inputs: television series
function: What
dependencies: 3