Question: What is the character role of Stan Lee (writer) in Thor (the movie with Samuel L. Jackson as a cast member) ?
Choices:
Karen Smith
Bronn
Pomona Sprout
Sailor Mercury
Gypsies
Emmett Brown
Falstaff
Loretta Stinson
Stan the Man
Hellboy
Program:
function: Find
inputs: Samuel L. Jackson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Thor
function: And
dependencies: 1
2
function: Find
inputs: writer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Stan Lee
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thor" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Samuel L. Jackson" . ?e_2 <pred:name> "Stan Lee" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "writer" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Stan the Man