Question: What is the title of Hope Springs (the one whose production company is Metro-Goldwyn-Mayer)?
Choices:
The Expendables
The Hours
Restless
Savannah
Hope Springs
Grey Gardens
Independence Day
Blondie
About a Boy
Sophie's Choice
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Hope Springs
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Hope Springs" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .  ?e <title> ?pv .  }
Answer: Hope Springs