Question: What is the character role of Anthony Anderson (the one cast in Scary Movie 4), cast in Law & Order (the one that was nominated for Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series) ?
Choices: Carmine Falcone
Indiana Jones
Kevin Bernard
Doctor Octopus
Griffin
Raoul de Bragelonne
Otto Mann
Chief Powhatan
Jean Grey
Clara Clayton
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Law & Order" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series" . ?e_2 <pred:name> "Anthony Anderson" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Scary Movie 4" . ?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: Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Find
inputs: Scary Movie 4
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Anthony Anderson
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role
Answer: Kevin Bernard