Question: Which film has the longer running time, The Mummy Returns (that has Dwayne Johnson as a cast member) or Green Lantern?
Choices: The Towering Inferno
Pleasantville
Training Day
Green Lantern
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
The Mummy Returns
Talk to Her
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy Returns" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dwayne Johnson" .   } UNION { ?e <pred:name> "Green Lantern" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dwayne Johnson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Mummy Returns
function: And
dependencies: 1
2
function: Find
inputs: Green Lantern
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Mummy Returns