Question: Which movie is longer, Blade II (the one whose director is Guillermo del Toro) or Stand by Me (the one that has Jerry O'Connell as a cast member)?
Choices: Training Day
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
Stand by Me
Rebecca
Talk to Her
Blade II
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blade II" . ?e <director> ?e_1 . ?e_1 <pred:name> "Guillermo del Toro" .   } UNION { ?e <pred:name> "Stand by Me" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jerry O'Connell" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Guillermo del Toro
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Blade II
function: And
dependencies: 1
2
function: Find
inputs: Jerry O'Connell
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Stand by Me
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Blade II