Question: Which movie is shorter, Alice (the one that has Alec Baldwin as a cast member) or The Birds?
Choices:
Rebecca
A Prairie Home Companion
Alice
Talk to Her
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
The Birds
Answer: Alice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alec Baldwin" .   } UNION { ?e <pred:name> "The Birds" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alec Baldwin
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice
function: And
dependencies: 1
2
function: Find
inputs: The Birds
function: SelectBetween
dependencies: 3
4
inputs: duration
less