Question: What is the title of Luther, which has a cast that includes Robert Morley?
Choices:
Mona Lisa
Sexy Beast
לבנון
Luther
Tabu
Lars and the Real Girl
This Must Be the Place
Ghostbusters II
Loving
Valentine's Day
Program:
function: Find
inputs: Robert Morley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Luther" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Morley" .  ?e <title> ?pv .  }
Answer: Luther