Question: Which is shorter: Phoenix, featuring cast member Brittany Murphy, or I Spy, the Golden Raspberry nominee for Worst Screen Couple/Ensemble?
Choices:
The Hunchback of Notre Dame
The Fifth Element
I Spy
Rebecca
Training Day
Pleasantville
The Towering Inferno
Talk to Her
Phoenix
Curse of the Golden Flower
Program:
function: Find
inputs: Brittany Murphy
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Golden Raspberry Award for Worst Screen Couple/Ensemble
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: I Spy
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Phoenix" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Brittany Murphy" .   } UNION { ?e <pred:name> "I Spy" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Golden Raspberry Award for Worst Screen Couple/Ensemble" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: I Spy