Question: Which is longer, Mary Poppins or The Three Musketeers with Oliver Platt in the cast?
Choices: The Flintstones
Holes
National Treasure: Book of Secrets
John Carter
Mary Poppins
The Muppets
The Three Musketeers
The Flintstones in Viva Rock Vegas
Alvin and the Chipmunks: Chipwrecked
Old Dogs
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mary Poppins" .  } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Oliver Platt" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mary Poppins
function: Find
inputs: Oliver Platt
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Mary Poppins