Question: Which movie is shorter, Bedknobs and Broomsticks or The Rocketeer (the one that has Melora Hardin as a cast member)?
Choices: The Rocketeer
The Muppets
Bedknobs and Broomsticks
The Flintstones in Viva Rock Vegas
The Flintstones
Alvin and the Chipmunks: Chipwrecked
Old Dogs
National Treasure: Book of Secrets
John Carter
G-Force
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bedknobs and Broomsticks" .  } UNION { ?e <pred:name> "The Rocketeer" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Melora Hardin" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bedknobs and Broomsticks
function: Find
inputs: Melora Hardin
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: The Rocketeer