Question: Which movie is longer, Ned Kelly (the one whose distributor is Focus Features) or Snatch?
Choices:
Pleasantville
The Hunchback of Notre Dame
Ned Kelly
Snatch
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
The Towering Inferno
Rebecca
Training Day
Answer: Ned Kelly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ned Kelly" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Focus Features" .   } UNION { ?e <pred:name> "Snatch" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Focus Features
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 1
2
function: Find
inputs: Snatch
function: SelectBetween
dependencies: 3
4
inputs: duration
greater