Question: Who is the cast member of a TV series produced by Ronald D. Moore (the character role of this statement is John Cavil)?
Choices:
Simon Cowell
William Henry Harrison
Sylvester Stallone
Mary McDonnell
David Byrne
Callum Keith Rennie
Dean Stockwell
Rahul Dev Burman
Max Fleischer
Richard Gere
Answer: Dean Stockwell
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_1 <producer> ?e_2 . ?e_2 <pred:name> "Ronald D. Moore" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "John Cavil" .  }
Program:
function: Find
inputs: Ronald D. Moore
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: Relate
dependencies: 2
inputs: cast member
forward
function: QFilterStr
dependencies: 3
inputs: character role
John Cavil
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5