Question: Which movie is shorter, The Sorcerer's Apprentice (the one that has Alfred Molina as a cast member) or The Three Musketeers (the one that has Oliver Platt as a cast member)?
Choices: National Treasure: Book of Secrets
John Carter
The Sorcerer's Apprentice
The Flintstones in Viva Rock Vegas
The Muppets
Alvin and the Chipmunks: Chipwrecked
Old Dogs
The Flintstones
Holes
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Sorcerer's Apprentice" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Alfred Molina" .   } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Oliver Platt" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alfred Molina
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Sorcerer's Apprentice
function: And
dependencies: 1
2
function: Find
inputs: Oliver Platt
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Three Musketeers