Question: Is "Into the Storm," which takes place in Oklahoma, or "X-Men," which was nominated for an MTV Movie Award for Best On-Screen Duo, longer?
Choices:
Training Day
Into the Storm
The Towering Inferno
X-Men
The Fifth Element
Talk to Her
Curse of the Golden Flower
Rebecca
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Oklahoma
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Into the Storm
function: And
dependencies: 1
2
function: Find
inputs: MTV Movie Award for Best On-Screen Duo
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: X-Men
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Into the Storm" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Oklahoma" .   } UNION { ?e <pred:name> "X-Men" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best On-Screen Duo" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: X-Men