Question: What visual artwork was nominated for an Academy Award for Best Actor and has a producer named Marshall Herskovitz?
Choices:
Traffic
Mona Lisa
Dr. Strangelove
The Last Samurai
Tootsie
Legends of the Fall
Blood Diamond
Chinatown
It's a Wonderful Life
Milk
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Marshall Herskovitz
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .  ?e <producer> ?e_2 . ?e_2 <pred:name> "Marshall Herskovitz" .  }
Answer: Blood Diamond