Question: Which movie is shorter, Back to the Future (the one that was nominated for BAFTA Award for Best Special Visual Effects) or Bedknobs and Broomsticks?
Choices:
Holes
The Muppets
Back to the Future
Bedknobs and Broomsticks
The Flintstones in Viva Rock Vegas
Old Dogs
G-Force
Alvin and the Chipmunks: Chipwrecked
National Treasure: Book of Secrets
The Flintstones
Program:
function: Find
inputs: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Back to the Future
function: And
dependencies: 1
2
function: Find
inputs: Bedknobs and Broomsticks
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Back to the Future" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Special Visual Effects" .   } UNION { ?e <pred:name> "Bedknobs and Broomsticks" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Back to the Future