Question: Which is shorter, The Newton Boys or Iron Man starring Rock Hudson?
Choices:
Training Day
Rebecca
Pleasantville
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Iron Man
Curse of the Golden Flower
Program:
function: Find
inputs: The Newton Boys
function: Find
inputs: Rock Hudson
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Iron Man
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Newton Boys" .  } UNION { ?e <pred:name> "Iron Man" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rock Hudson" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Iron Man