Question: What is cast member Alfred Molina's character role in Frida?
Choices: David Levinson
Mary Temple Grandin
The Emperor of China
Briseis
Ted's daughter
Henry Hooker
Diego Rivera
Paul Atreides
Jack Bristow
Rita Skeeter
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Frida" . ?e_2 <pred:name> "Alfred Molina" . ?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: Frida
function: Find
inputs: Alfred Molina
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role
Answer: Diego Rivera