Question: What feature film was nominated for an Academy Award for Best Supporting Actor and an Academy Award for Best Actor?
Choices:
Max von Sydow
G-Force
Melvyn Douglas
Woody Harrelson
The Straight Story
Robert Duvall
Pirates of the Caribbean: The Curse of the Black Pearl
Fiddler on the Roof
Michael Clayton
Old Dogs
Answer: Fiddler on the Roof
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actor" .  ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Actor" .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: And
dependencies: 2
5
function: What
dependencies: 6