Question: Which television series has the human whose ISNI is 0000 0003 9901 7066 as a cast member (playing the character role of Leland Stottlemeyer)?
Choices:
Bleak House
Six Feet Under
Seinfeld
Saturday Night's Main Event
Monk
Robot Chicken
American Horror Story
Dancing with the Stars
Game of Thrones
Babylon 5
Answer: Monk
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0003 9901 7066" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Leland Stottlemeyer" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0003 9901 7066
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: cast member
backward
function: QFilterStr
dependencies: 3
inputs: character role
Leland Stottlemeyer
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5