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