Question: Is the longer work Samson and Delilah, an Academy Award nominee for Best Visual Effects, or The Maltese Falcon, of the Pre-Code Hollywood movement?
Choices:
Training Day
Talk to Her
The Towering Inferno
The Maltese Falcon
Curse of the Golden Flower
Samson and Delilah
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Rebecca
Answer: Samson and Delilah
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Samson and Delilah" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Visual Effects" .   } UNION { ?e <pred:name> "The Maltese Falcon" . ?e <movement> ?e_2 . ?e_2 <pred:name> "Pre-Code Hollywood" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Samson and Delilah
function: And
dependencies: 1
2
function: Find
inputs: Pre-Code Hollywood
function: Relate
dependencies: 4
inputs: movement
backward
function: Find
inputs: The Maltese Falcon
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater