Question: Which movie is longer, Luther (the one whose production company is Australian Broadcasting Corporation) or Bridesmaids?
Choices:
The Towering Inferno
Luther
Talk to Her
Bridesmaids
Rebecca
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Training Day
Pleasantville
Answer: Bridesmaids
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Australian Broadcasting Corporation" .   } UNION { ?e <pred:name> "Bridesmaids" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Australian Broadcasting Corporation
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: Find
inputs: Bridesmaids
function: SelectBetween
dependencies: 3
4
inputs: duration
greater