Question: Which movie is longer, Nickelodeon (the one whose producer is Robert Chartoff) or The Guard?
Choices:
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
Nickelodeon
The Towering Inferno
The Guard
Curse of the Golden Flower
The Fifth Element
Training Day
Pleasantville
Answer: Nickelodeon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nickelodeon" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Robert Chartoff" .   } UNION { ?e <pred:name> "The Guard" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robert Chartoff
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Nickelodeon
function: And
dependencies: 1
2
function: Find
inputs: The Guard
function: SelectBetween
dependencies: 3
4
inputs: duration
greater