Question: Which movie is shorter, Shadowlands (the one that was nominated for BAFTA Award for Best Actor in a Leading Role) or The Diary of Anne Frank (the one that was nominated for Academy Award for Best Production Design)?
Choices:
Shadowlands
The Diary of Anne Frank
Rebecca
A Prairie Home Companion
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: BAFTA Award for Best Actor in a Leading Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Shadowlands
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Diary of Anne Frank
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shadowlands" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actor in a Leading Role" .   } UNION { ?e <pred:name> "The Diary of Anne Frank" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Production Design" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shadowlands