Question: Is the running-time longer for The Commitments, released in Denmark, or Shame, released in Norway?
Choices:
The Commitments
Rebecca
The Towering Inferno
Pleasantville
Curse of the Golden Flower
A Prairie Home Companion
Shame
Talk to Her
The Fifth Element
Training Day
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Commitments
function: And
dependencies: 1
2
function: Find
inputs: Norway
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Shame
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Commitments" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Denmark" .   } UNION { ?e <pred:name> "Shame" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Norway" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Commitments