Question: Which is shorter, Tomorrow Never Dies with Judi Dench or Temple Grandin?
Choices:
A Christmas Carol
Temple Grandin
All Quiet on the Western Front
The Music Man
The Goodbye Girl
Shackleton
Tomorrow Never Dies
The Three Musketeers
The Late Shift
A Streetcar Named Desire
Program:
function: Find
inputs: Judi Dench
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Tomorrow Never Dies
function: And
dependencies: 1
2
function: Find
inputs: Temple Grandin
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tomorrow Never Dies" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Judi Dench" .   } UNION { ?e <pred:name> "Temple Grandin" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Temple Grandin