Question: Which is shorter, The King and I designed by John DeCuir or The Trouble with Harry?
Choices:
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
Training Day
The Hunchback of Notre Dame
The Trouble with Harry
Talk to Her
The King and I
The Fifth Element
Program:
function: Find
inputs: John DeCuir
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: The King and I
function: And
dependencies: 1
2
function: Find
inputs: The Trouble with Harry
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The King and I" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "John DeCuir" .   } UNION { ?e <pred:name> "The Trouble with Harry" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Trouble with Harry