Question: Is The Tree of Life or Breakfast at Tiffany's starring Audrey Hepburn shorter?
Choices:
A Prairie Home Companion
Pleasantville
Rebecca
The Hunchback of Notre Dame
Breakfast at Tiffany's
Training Day
Talk to Her
The Fifth Element
The Towering Inferno
The Tree of Life
Program:
function: Find
inputs: The Tree of Life
function: Find
inputs: Audrey Hepburn
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Breakfast at Tiffany's
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Tree of Life" .  } UNION { ?e <pred:name> "Breakfast at Tiffany's" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Audrey Hepburn" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Breakfast at Tiffany's