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