Question: Tell me the movie that has the person that has the name in native language Nicolas Cage as a cast member (these statement's character role is Sailor Ripley)
Choices:
Talk to Her
A Prairie Home Companion
Wild at Heart
The Cotton Club
Adaptation
Leaving Las Vegas
Rebecca
The Family Man
Pleasantville
The Fifth Element
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Nicolas Cage
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: cast member
backward
function: QFilterStr
dependencies: 3
inputs: character role
Sailor Ripley
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Nicolas Cage" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Sailor Ripley" .  }
Answer: Wild at Heart