Question: Is the duration greater for Airplane! or The Longest Yard (the one that has Adam Sandler as an executive producer)?
Choices:
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Pleasantville
The Longest Yard
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Airplane!
Rebecca
Answer: The Longest Yard
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Airplane!" .  } UNION { ?e <pred:name> "The Longest Yard" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Adam Sandler" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Airplane!
function: Find
inputs: Adam Sandler
function: Relate
dependencies: 1
inputs: executive producer
backward
function: Find
inputs: The Longest Yard
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater