Question: Tell me the character role in the work the Man in the Iron Mask (being aired originally on NBC) that has Richard Chamberlain as a cast member.
Choices:
Adam Susan
Agnes Skinner
David Levinson
Esmeralda
Louis XIV of France
Dana Barrett
Claudia
Karen Silkwood
Tycho Nestoris
Daniel Jackson
Answer: Louis XIV of France
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Man in the Iron Mask" . ?e_1 <original_network> ?e_3 . ?e_3 <pred:name> "NBC" . ?e_2 <pred:name> "Richard Chamberlain" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: The Man in the Iron Mask
function: And
dependencies: 1
2
function: Find
inputs: Richard Chamberlain
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role