Question: Which is shorter, Silver Linings Playbook or Starship Troopers starring Brenda Strong?
Choices:
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
Silver Linings Playbook
Training Day
Starship Troopers
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Silver Linings Playbook
function: Find
inputs: Brenda Strong
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Silver Linings Playbook" .  } UNION { ?e <pred:name> "Starship Troopers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Brenda Strong" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Silver Linings Playbook