Question: Which is shorter, The Right Stuff with Ed Harris or Heartbeats released in Canada?
Choices:
A Prairie Home Companion
The Right Stuff
The Towering Inferno
Heartbeats
Pleasantville
The Hunchback of Notre Dame
Rebecca
Talk to Her
The Fifth Element
Training Day
Answer: Heartbeats
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Right Stuff" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ed Harris" .   } UNION { ?e <pred:name> "Heartbeats" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Canada" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ed Harris
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Right Stuff
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Heartbeats
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less