Question: Which is longer, Laura released in Sweden or X-Men Origins: Wolverine released in Canada?
Choices:
X-Men Origins: Wolverine
The Towering Inferno
The Fifth Element
Training Day
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Pleasantville
Laura
Answer: X-Men Origins: Wolverine
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Laura" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Sweden" .   } UNION { ?e <pred:name> "X-Men Origins: Wolverine" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Canada" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Laura
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: X-Men Origins: Wolverine
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater