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