Question: Which movie is shorter, The Adventures of Baron Munchausen or Gone with the Wind (the one that has Walter Plunkett as a costume designer)?
Choices:
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Adventures of Baron Munchausen
Talk to Her
Pleasantville
Gone with the Wind
The Towering Inferno
Program:
function: Find
inputs: The Adventures of Baron Munchausen
function: Find
inputs: Walter Plunkett
function: Relate
dependencies: 1
inputs: costume designer
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> "The Adventures of Baron Munchausen" .  } UNION { ?e <pred:name> "Gone with the Wind" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Walter Plunkett" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Adventures of Baron Munchausen