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