Question: What character does cast member Dylan Baker play in Spider-Man 3, a film which also includes James Cromwell in the cast?
Choices:
Danny Ocean
Joan Holloway
Chi-Fu
Patrick Gates
Hotep
Ray Stantz
Lizard
Hector Hammond
Hector Barbossa
Bender
Answer: Lizard
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spider-Man 3" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "James Cromwell" . ?e_2 <pred:name> "Dylan Baker" . ?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: James Cromwell
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Spider-Man 3
function: And
dependencies: 1
2
function: Find
inputs: Dylan Baker
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role