Question: What is the character role of James Caan (the one that is a cast member of The Godfather Part II) in  The Godfather Part II?
Choices:
Rex Van de Kamp
Johann Tetzel
George III of Great Britain
Cosmo Kramer
Foggy Nelson
Melvin Purvis
The Dragon Emperor
General Hologram
Sultan
Sonny Corleone
Answer: Sonny Corleone
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Godfather Part II" . ?e_2 <pred:name> "James Caan" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "The Godfather Part II" . ?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: The Godfather Part II
function: Find
inputs: The Godfather Part II
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: James Caan
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role