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