Question: Which movie is shorter, Bullets Over Broadway or A Streetcar Named Desire (the one that received Academy Award for Best Actress)?
Choices:
The Fifth Element
Curse of the Golden Flower
The Hunchback of Notre Dame
Bullets Over Broadway
A Streetcar Named Desire
Talk to Her
Pleasantville
The Towering Inferno
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: Bullets Over Broadway
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: A Streetcar Named Desire
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bullets Over Broadway" .  } UNION { ?e <pred:name> "A Streetcar Named Desire" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actress" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bullets Over Broadway