Question: Between Wayne's World and Academy Award for best Director nominee Gone With the Wind, which one is shorter?
Choices:
A Prairie Home Companion
Gone with the Wind
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Training Day
Talk to Her
Wayne's World
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: Wayne's World
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Gone with the Wind
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wayne's World" .  } UNION { ?e <pred:name> "Gone with the Wind" . ?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: Wayne's World