Question: Which movie is longer, The Flintstones (the one whose director of photography is Dean Cundey) or The Muppets?
Choices: Alvin and the Chipmunks: Chipwrecked
John Carter
The Muppets
National Treasure: Book of Secrets
Old Dogs
The Flintstones
G-Force
Enchanted
Holes
Gulliver's Travels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Flintstones" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Dean Cundey" .   } UNION { ?e <pred:name> "The Muppets" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dean Cundey
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: The Flintstones
function: And
dependencies: 1
2
function: Find
inputs: The Muppets
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Muppets