Question: Which movie is shorter, Women in Love (the one that was nominated for BAFTA Award for Best Film) or War of the Worlds?
Choices:
The Towering Inferno
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
War of the Worlds
Women in Love
Training Day
Pleasantville
Program:
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Women in Love
function: And
dependencies: 1
2
function: Find
inputs: War of the Worlds
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Women in Love" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film" .   } UNION { ?e <pred:name> "War of the Worlds" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: War of the Worlds