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