Question: Which was shorter, the Academy Award nominated Little Women or The Flowers of War?
Choices:
Talk to Her
The Flowers of War
The Hunchback of Notre Dame
Little Women
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Pleasantville
Training Day
Rebecca
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: The Flowers of War
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Women" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .   } UNION { ?e <pred:name> "The Flowers of War" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Little Women