Question: What is the character role of Tom Wilkinson (who was nominated for a Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie) as a cast member in Batman Begins (that mainly portrays ninja)?
Choices: Herman B Wells
William Shatner
Carter Burke
Mr. Eko
Tifa Lockhart
Carmine Falcone
Gertrude
Goldmember
Marmaduke
Quentin Turnbull
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman Begins" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "ninja" . ?e_2 <pred:name> "Tom Wilkinson" . ?e_2 <nominated_for> ?e_4 . ?e_4 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie" . ?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: ninja
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Batman Begins
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Tom Wilkinson
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role
Answer: Carmine Falcone