Question: Which is shorter, Superman, distributed by Warner Bros., or How the West Was Won?
Choices:
Pleasantville
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
How the West Was Won
The Fifth Element
Rebecca
Talk to Her
Superman
A Prairie Home Companion
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: How the West Was Won
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "How the West Was Won" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Superman