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