Question: Which movie is longer, Lantana or Crossroads (the one that has Dan Aykroyd as a cast member)?3
Choices:
A Prairie Home Companion
Crossroads
Lantana
Rebecca
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Answer: Lantana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lantana" .  } UNION { ?e <pred:name> "Crossroads" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dan Aykroyd" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lantana
function: Find
inputs: Dan Aykroyd
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Crossroads
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater