Question: Which is shorter, Little Nicky starring Carl Weathers or Cyrano de Bergerac that was nominated for an Academy Award for Best Makeup and Hairstyling?
Choices:
Training Day
Pleasantville
Little Nicky
Cyrano de Bergerac
The Towering Inferno
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Answer: Little Nicky
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Nicky" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Carl Weathers" .   } UNION { ?e <pred:name> "Cyrano de Bergerac" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Makeup and Hairstyling" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Carl Weathers
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Little Nicky
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Cyrano de Bergerac
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less