Question: Between Warner Bros.-distributed The Avengers, or Julie & Julia, which is shorter?
Choices:
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Pleasantville
The Avengers
Rebecca
Julie & Julia
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Avengers
function: And
dependencies: 1
2
function: Find
inputs: Julie & Julia
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Avengers" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Julie & Julia" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Avengers