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