Question: Does Grey Gardens, distributed by HBO Films, or Glee: The 3D Concert Movie have the shorter running time?
Choices:
Training Day
A Prairie Home Companion
Grey Gardens
The Towering Inferno
Pleasantville
The Fifth Element
Rebecca
Curse of the Golden Flower
Glee: The 3D Concert Movie
Talk to Her
Program:
function: Find
inputs: HBO Films
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Grey Gardens
function: And
dependencies: 1
2
function: Find
inputs: Glee: The 3D Concert Movie
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grey Gardens" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "HBO Films" .   } UNION { ?e <pred:name> "Glee: The 3D Concert Movie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Glee: The 3D Concert Movie