Question: Which military rank is the movie character portrayed by Tom Cruise?
Choices: BAFTA Award for Best Film Music
Roger Moore
The Hitchhiker's Guide to the Galaxy
colonel
pedal steel guitar
captain
CWA New Blood Dagger
The Count of Monte Cristo
major
61st Academy Awards
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "military rank" . ?e_1 <military_rank> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film character" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Tom Cruise" .   }
Program:
function: Find
inputs: Tom Cruise
function: Relate
dependencies: 0
inputs: performer
backward
function: FilterConcept
dependencies: 1
inputs: film character
function: Relate
dependencies: 2
inputs: military rank
forward
function: FilterConcept
dependencies: 3
inputs: military rank
function: What
dependencies: 4
Answer: major