Question: Cloris Leachman is cast in which role on The Mary Tyler Moore Show?
Choices:
Jack Swigert
Hannibal Lecter
Hans Gruber
Meriadoc Brandybuck
Renee Perry
Panic
Talia al Ghul
Phyllis Lindstrom
Clear Rivers
Peregrin Took
Answer: Phyllis Lindstrom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Mary Tyler Moore Show" . ?e_2 <pred:name> "Cloris Leachman" . ?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: The Mary Tyler Moore Show
function: Find
inputs: Cloris Leachman
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role