Question: Which film has Michael Caine as a cast member and has a title of Ashanti?
Choices:
The Quiet American
Pleasantville
The Dark Knight
The Island
Batman Begins
Ashanti
A Prairie Home Companion
Talk to Her
Rebecca
Alfie
Program:
function: Find
inputs: Michael Caine
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Ashanti
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael Caine" .  ?e <title> ?pv . ?pv <pred:value> "Ashanti" .  }
Answer: Ashanti