Question: Screenwriter Steve Martin produced the film with which title?
Choices:
Algiers
Pittsburgh
30 Days of Night
(500) Days of Summer
Seven Pounds
The Mummy
Shopgirl
The Kite Runner
Fast Five
24: Redemption
Answer: Shopgirl
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Steve Martin" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "screenwriter" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Steve Martin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title