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