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