Question: Which is longer, The Turning Point whose narrative location is Warsaw or Love Affair that has Edward Dmytryk as a film editor?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Training Day
Curse of the Golden Flower
Love Affair
The Towering Inferno
The Turning Point
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: Warsaw
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Turning Point
function: And
dependencies: 1
2
function: Find
inputs: Edward Dmytryk
function: Relate
dependencies: 4
inputs: film editor
backward
function: Find
inputs: Love Affair
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Turning Point" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Warsaw" .   } UNION { ?e <pred:name> "Love Affair" . ?e <film_editor> ?e_2 . ?e_2 <pred:name> "Edward Dmytryk" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Turning Point