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