Question: Does Cabaret (that received an Academy Award for Best Cinematography) or The King's Speech have the longer running time?
Choices:
Rebecca
Cabaret
A Prairie Home Companion
The King's Speech
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Training Day
Talk to Her
Program:
function: Find
inputs: Academy Award for Best Cinematography
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Cabaret
function: And
dependencies: 1
2
function: Find
inputs: The King's Speech
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cabaret" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Cinematography" .   } UNION { ?e <pred:name> "The King's Speech" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cabaret