Question: Robert De Niro, from the cast of Silver Linings Playbook, is cast in what role on Taxi Driver, directed by Martin Scorsese?
Choices:
Travis Bickle
Connie Corleone
Mary Todd Lincoln
Ward Abbott
Tony Mendez
Peter Florrick
Commodus
Horace Slughorn
Robert de Brus, 6th Lord of Annandale
Vito Corleone
Program:
function: Find
inputs: Martin Scorsese
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Taxi Driver
function: And
dependencies: 1
2
function: Find
inputs: Silver Linings Playbook
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Robert De Niro
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Taxi Driver" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Martin Scorsese" . ?e_2 <pred:name> "Robert De Niro" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Silver Linings Playbook" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Travis Bickle