Question: Cast member Johnny Depp played what character on Fear and Loathing in Las Vegas, directed by Terry Gilliam?
Choices:
Andy Warhol
Fat Lady
Warren Worthington III
Hermes
Benjamin Franklin 'Hawkeye' Pierce
Dr. John Watson
Jan Levinson
Raoul Duke
Jim Morrison
John Smith
Answer: Raoul Duke
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fear and Loathing in Las Vegas" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Terry Gilliam" . ?e_2 <pred:name> "Johnny Depp" . ?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: Terry Gilliam
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Fear and Loathing in Las Vegas
function: And
dependencies: 1
2
function: Find
inputs: Johnny Depp
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role