Question: What is the character role of Michael Madsen (the one that is a cast member of Scary Movie 4) in WarGames?
Choices:
Friar Tuck
Shellie
Steve Phelps
Jesus Christ
Sandman
Mark Silverberg
Mrs. Bennet
Billy Bones
Captain Nemo
Will Graham
Answer: Steve Phelps
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "WarGames" . ?e_2 <pred:name> "Michael Madsen" . ?e_3 <cast_member> ?e_2 . ?e_3 <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: WarGames
function: Find
inputs: Scary Movie 4
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Michael Madsen
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role