Question: Which one of these—Spellbound (Oscar nominee for Best Director) or Rachel Getting Married—is the shorter film?
Choices:
Curse of the Golden Flower
The Towering Inferno
Spellbound
The Fifth Element
Talk to Her
Rebecca
Rachel Getting Married
A Prairie Home Companion
Training Day
Pleasantville
Program:
function: Find
inputs: Rachel Getting Married
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Spellbound
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rachel Getting Married" .  } UNION { ?e <pred:name> "Spellbound" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Spellbound