Question: Stan Lee, screenwriter of Iron Man 3, is cast in what character role on Thor, also featuring J. Michael Straczynski as a cast member?
Choices:
Hannibal King
Ricki Tarr
Eddie
Benjamin Franklin
The Leader
King Harold
Stan the Man
Gollum
Leslie Knope
Baby Face Nelson
Answer: Stan the Man
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thor" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "J. Michael Straczynski" . ?e_2 <pred:name> "Stan Lee" . ?e_4 <screenwriter> ?e_2 . ?e_4 <pred:name> "Iron Man 3" . ?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: J. Michael Straczynski
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Thor
function: And
dependencies: 1
2
function: Find
inputs: Iron Man 3
function: Relate
dependencies: 4
inputs: screenwriter
forward
function: Find
inputs: Stan Lee
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role