Question: Which movie is shorter, A Clockwork Orange (the one whose release region is Germany) or Twilight (the one that has Stockard Channing as a cast member)?
Choices:
Pleasantville
A Clockwork Orange
Rebecca
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Twilight
Talk to Her
Answer: Twilight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Clockwork Orange" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Twilight" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Stockard Channing" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: A Clockwork Orange
function: And
dependencies: 1
2
function: Find
inputs: Stockard Channing
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Twilight
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less