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