Question: Does Holes, with a cast that includes Tim Blake Nelson, or Pirates of the Caribbean: The Curse of the Black Pearl have the longer running time?
Choices: Holes
John Carter
G-Force
Old Dogs
Pirates of the Caribbean: The Curse of the Black Pearl
The Flintstones in Viva Rock Vegas
Enchanted
National Treasure: Book of Secrets
The Muppets
The Flintstones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Holes" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tim Blake Nelson" .   } UNION { ?e <pred:name> "Pirates of the Caribbean: The Curse of the Black Pearl" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tim Blake Nelson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Holes
function: And
dependencies: 1
2
function: Find
inputs: Pirates of the Caribbean: The Curse of the Black Pearl
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Pirates of the Caribbean: The Curse of the Black Pearl