Question: Does American Gangster, set in NYC, or Finding Neverland have the longer running time?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
American Gangster
Rebecca
Pleasantville
Talk to Her
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: American Gangster
function: And
dependencies: 1
2
function: Find
inputs: Finding Neverland
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Gangster" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Finding Neverland" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: American Gangster