Question: Which movie is shorter, Peter Pan (the one whose distributor is Paramount Pictures) or Ocean's Twelve?
Choices: A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Rebecca
Peter Pan
Pleasantville
Training Day
The Hunchback of Notre Dame
Ocean's Twelve
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Peter Pan" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } UNION { ?e <pred:name> "Ocean's Twelve" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: Ocean's Twelve
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: Peter Pan