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