Question: Which one, Bedtime Stories (the one that has Rob Schneider as a cast member) or Popeye, has greater duration?
Choices: The Flintstones in Viva Rock Vegas
Bedtime Stories
Alvin and the Chipmunks: Chipwrecked
Old Dogs
Popeye
National Treasure: Book of Secrets
The Flintstones
Holes
G-Force
The Muppets
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bedtime Stories" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rob Schneider" .   } UNION { ?e <pred:name> "Popeye" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rob Schneider
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Bedtime Stories
function: And
dependencies: 1
2
function: Find
inputs: Popeye
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Popeye