Question: Which one is shorter, Radio Days or Heroes (which has a cast member Sally Field)
Choices:
Training Day
Talk to Her
Radio Days
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Rebecca
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Radio Days
function: Find
inputs: Sally Field
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Heroes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Radio Days" .  } UNION { ?e <pred:name> "Heroes" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sally Field" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Radio Days