Question: What is Tom Hanks' character role as a cast member in the work The Da Vinci Code (the one whose original language is French)?
Choices:
Tweedledum
George McFly
Mitch Wilkinson
Robert Langdon
Big Nose
Fez
Irene Cassini
Harry Pierpont
Human Torch
Linus Caldwell
Answer: Robert Langdon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Da Vinci Code" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "French" . ?e_2 <pred:name> "Tom Hanks" . ?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: French
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Da Vinci Code
function: And
dependencies: 1
2
function: Find
inputs: Tom Hanks
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role