Question: Is Being Julia or the J.J. Abrams-scripted Armageddon the shorter of the two?
Choices:
The Hunchback of Notre Dame
Armageddon
The Fifth Element
Being Julia
Rebecca
The Towering Inferno
A Prairie Home Companion
Training Day
Pleasantville
Curse of the Golden Flower
Program:
function: Find
inputs: Being Julia
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Armageddon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Being Julia" .  } UNION { ?e <pred:name> "Armageddon" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "J. J. Abrams" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Being Julia