Question: What is the character role of Mary Tyler Moore in  The Mary Tyler Moore Show?
Choices:
Ramone
Captain Haddock
Mary Richards
Emile Mondavarious
Rick O'Connell
Guard
Tapper
Władysław Szpilman
Ptolemy I Soter
Darth Vader
Program:
function: Find
inputs: The Mary Tyler Moore Show
function: Find
inputs: Mary Tyler Moore
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Mary Tyler Moore Show" . ?e_2 <pred:name> "Mary Tyler Moore" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Mary Richards