Question: Which movie is longer, Popeye or Holes (the one whose production company is Walt Disney Pictures)?
Choices: Enchanted
John Carter
Old Dogs
National Treasure: Book of Secrets
The Flintstones
Popeye
G-Force
Alvin and the Chipmunks: Chipwrecked
Holes
The Flintstones in Viva Rock Vegas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Popeye" .  } UNION { ?e <pred:name> "Holes" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Walt Disney Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Popeye
function: Find
inputs: Walt Disney Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Holes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Holes