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