Question: Which movie is shorter, The Crucible (the one that has Winona Ryder as a cast member) or Ned Kelly (the one whose distributor is Focus Features)?
Choices: Ned Kelly
The Fifth Element
The Crucible
Training Day
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Crucible" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Winona Ryder" .   } UNION { ?e <pred:name> "Ned Kelly" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Focus Features" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Winona Ryder
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Crucible
function: And
dependencies: 1
2
function: Find
inputs: Focus Features
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Ned Kelly