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