Question: Which movie is longer, Super (the one whose release region is United Kingdom) or Ned Kelly (the one that origins from United Kingdom)?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Super
Rebecca
Pleasantville
Training Day
Talk to Her
Ned Kelly
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Super
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Super" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Ned Kelly" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ned Kelly