Question: What is the character portrayed by the actor John Wood in the motion picture called WarGames?
Choices: Melvin Purvis
Pete Campbell
Danny Ocean
Juliet
Frederick Douglass
John Bosley
Mickey Aldrin
Brian O'Conner
Stephen Falken
Mr. Smee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "WarGames" . ?e_2 <pred:name> "John Wood" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "WarGames" . ?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: WarGames
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: John Wood
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
Answer: Stephen Falken