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