Question: Which movie is longer, Howards End or Mildred Pierce (the one whose release region is Finland)?
Choices:
Pleasantville
A Prairie Home Companion
Training Day
Howards End
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Curse of the Golden Flower
Talk to Her
Mildred Pierce
Program:
function: Find
inputs: Howards End
function: Find
inputs: Finland
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Mildred Pierce
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Howards End" .  } UNION { ?e <pred:name> "Mildred Pierce" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Howards End