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