Question: What is the title of a movie where Andy Griffith is cast ?
Choices:
Savages
I Know Who Killed Me
Elektra
Arcadia
Carson City
Arthur Christmas
Striptease
Twilight
Crash
Stand by Me
Program:
function: Find
inputs: Andy Griffith
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Andy Griffith" .  ?e <title> ?pv .  }
Answer: Savages