Question: Which was longer, Magic Mike or Brighton Rock released in Denmark?
Choices:
Magic Mike
Rebecca
Talk to Her
Brighton Rock
Training Day
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Magic Mike
function: Find
inputs: Denmark
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Brighton Rock
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Magic Mike" .  } UNION { ?e <pred:name> "Brighton Rock" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Denmark" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Magic Mike