Question: What is the title of Cobra (the one whose producer is Menahem Golan)?
Choices:
Diarios de motocicleta
Анна Каренина
Rabindranath Tagore
It's Complicated
A Simple Plan
Purple Heart
Pacific Palisades
Cobra
FreeBSD Security Officer
Leaving Las Vegas
Program:
function: Find
inputs: Menahem Golan
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Cobra
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Cobra" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Menahem Golan" .  ?e <title> ?pv .  }
Answer: Cobra