Question: Which is longer, When in Rome produced by Warner Bros. or Lock, Stock and Two Smoking Barrels?
Choices:
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
When in Rome
A Prairie Home Companion
Lock, Stock and Two Smoking Barrels
Training Day
Talk to Her
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: When in Rome
function: And
dependencies: 1
2
function: Find
inputs: Lock, Stock and Two Smoking Barrels
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "When in Rome" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Lock, Stock and Two Smoking Barrels" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lock, Stock and Two Smoking Barrels