Question: Is Men in Black produced by Jules White or Heaven's Gate longer?
Choices:
Men in Black
Talk to Her
The Fifth Element
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
The Towering Inferno
Training Day
Heaven's Gate
Rebecca
Program:
function: Find
inputs: Jules White
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Men in Black
function: And
dependencies: 1
2
function: Find
inputs: Heaven's Gate
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Men in Black" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Jules White" .   } UNION { ?e <pred:name> "Heaven's Gate" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Heaven's Gate