Question: Does the longer running time belong to Staten Island, set in New York City, or Batman Returns, featuring Michael Gough as a cast member?
Choices: Training Day
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Staten Island
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
Batman Returns
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Staten Island" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Batman Returns" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Michael Gough" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Staten Island
function: And
dependencies: 1
2
function: Find
inputs: Michael Gough
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Batman Returns
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Batman Returns