Question: What is the name of the character that played the actor James Caan as a cast member of The Godfather (the one with total sales 268500000 United States dollars)?
Choices: Scrum
Domino Harvey
Mr. Eko
Weyoun
Richard Burbage
Carl Gustav Jung
Brutish Guard
Vernita Yvonne Green
Sonny Corleone
Laurence Olivier
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Godfather" . ?e_1 <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "268500000"^^xsd:double . ?e_2 <pred:name> "James Caan" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?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
function: FilterNum
dependencies: 0
inputs: box office
268500000 United States dollar
=
function: Find
inputs: actor
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: James Caan
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: cast member
character role
Answer: Sonny Corleone