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