Question: Which ones is longer, Independence Day (the one that was nominated for BAFTA Award for Best Sound) or House of Flying Daggers?
Choices:
Training Day
Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
Independence Day
The Towering Inferno
House of Flying Daggers
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: BAFTA Award for Best Sound
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Find
inputs: House of Flying Daggers
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Independence Day" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Sound" .   } UNION { ?e <pred:name> "House of Flying Daggers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Independence Day