Question: Is The Right Stuff, featuring cast member Jeff Goldblum, or Date Night the longer of the two?
Choices:
Training Day
The Right Stuff
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Date Night
The Towering Inferno
Talk to Her
Pleasantville
Answer: The Right Stuff
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Right Stuff" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jeff Goldblum" .   } UNION { ?e <pred:name> "Date Night" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jeff Goldblum
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Right Stuff
function: And
dependencies: 1
2
function: Find
inputs: Date Night
function: SelectBetween
dependencies: 3
4
inputs: duration
greater