Question: Does arrie (whose narrative location is Maine) or Atonement (that was nominated for a BAFTA Award for Best Makeup and Hair) have the longer running time?
Choices:
Carrie
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Training Day
Atonement
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Pleasantville
Answer: Atonement
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Maine" .   } UNION { ?e <pred:name> "Atonement" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Makeup and Hair" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Maine
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Atonement
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater