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