Question: What is the character role of Robert Duvall as a cast member in The Godfather that was nominated for a National Society of Film Critics Award for Best Film?
Choices:
Tom Hagen
Thomas Whitmore
Frasier Crane
Vasili Arkhipov
The Emperor of China
Luke Hobbs
Carver
Heimdall
Dana Scully
Megatron
Answer: Tom Hagen
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Godfather" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "National Society of Film Critics Award for Best Film" . ?e_2 <pred:name> "Robert Duvall" . ?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: National Society of Film Critics Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Godfather
function: And
dependencies: 1
2
function: Find
inputs: Robert Duvall
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role