Question: What is the name of a visual artwork where Tom Wilkinson (the one that wins Independent Spirit Award for Best Male Lead) is cast and which was directed by Brett Ratner?
Choices:
Rush Hour
Rush Hour 2
Hercules
The Patriot
Rush Hour 3
Batman Begins
Priest
X-Men: The Last Stand
Red Dragon
Shakespeare in Love
Answer: Rush Hour
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tom Wilkinson" . ?e_2 <winner> ?e_1 . ?e_2 <pred:name> "Independent Spirit Award for Best Male Lead" .  ?e <director> ?e_3 . ?e_3 <pred:name> "Brett Ratner" .  }
Program:
function: Find
inputs: Independent Spirit Award for Best Male Lead
function: Relate
dependencies: 0
inputs: winner
forward
function: Find
inputs: Tom Wilkinson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Find
inputs: Brett Ratner
function: Relate
dependencies: 6
inputs: director
backward
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 5
8
function: What
dependencies: 9