Question: Which is shorter, A Streetcar Named Desire that was nominated for an Academy Award for Best Picture or This Must Be the Place?
Choices:
The Towering Inferno
Training Day
The Fifth Element
This Must Be the Place
A Streetcar Named Desire
Pleasantville
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Answer: This Must Be the Place
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Streetcar Named Desire" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .   } UNION { ?e <pred:name> "This Must Be the Place" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: A Streetcar Named Desire
function: And
dependencies: 1
2
function: Find
inputs: This Must Be the Place
function: SelectBetween
dependencies: 3
4
inputs: duration
less