Question: What is the title of the film whose producer is David Mamet?
Choices:
X-Men: The Last Stand
Spider-Man 2
The House of Mirth
Star Trek: Enterprise
My Week with Marilyn
Hoffa
Jonah Hex
Wonder Woman
FreeBSD Security Officer
The Cosby Show
Answer: Hoffa
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <producer> ?e_1 . ?e_1 <pred:name> "David Mamet" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: David Mamet
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: title