Question: What is Nicolas Cage's role in The Bad Lieutenant: Port of Call New Orleans?
Choices:
John Hammond
Sayid Jarrah
Terence McDonagh
Joan Jett
Donkey
Josephine Earp
James P. Sullivan
Captain Haddock
Mr. Big
Paris
Answer: Terence McDonagh
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Bad Lieutenant: Port of Call New Orleans" . ?e_2 <pred:name> "Nicolas Cage" . ?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 Bad Lieutenant: Port of Call New Orleans
function: Find
inputs: Nicolas Cage
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role