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