Question: Which movie is shorter, Mighty Joe Young (the one whose distributor is Walt Disney Studios Motion Pictures) or National Treasure: Book of Secrets?
Choices: The Muppets
Mighty Joe Young
National Treasure: Book of Secrets
Alvin and the Chipmunks: Chipwrecked
G-Force
Holes
The Flintstones
The Flintstones in Viva Rock Vegas
Old Dogs
John Carter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mighty Joe Young" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .   } UNION { ?e <pred:name> "National Treasure: Book of Secrets" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Mighty Joe Young
function: And
dependencies: 1
2
function: Find
inputs: National Treasure: Book of Secrets
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Mighty Joe Young