Question: Which movie is longer, X-Men Origins: Wolverine (the one whose release region is United Arab Emirates) or Talladega Nights: The Ballad of Ricky Bobby?
Choices:
Talladega Nights: The Ballad of Ricky Bobby
A Prairie Home Companion
Pleasantville
Training Day
The Fifth Element
Talk to Her
X-Men Origins: Wolverine
Rebecca
The Towering Inferno
Curse of the Golden Flower
Answer: Talladega Nights: The Ballad of Ricky Bobby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "X-Men Origins: Wolverine" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United Arab Emirates" .   } UNION { ?e <pred:name> "Talladega Nights: The Ballad of Ricky Bobby" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Arab Emirates
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: X-Men Origins: Wolverine
function: And
dependencies: 1
2
function: Find
inputs: Talladega Nights: The Ballad of Ricky Bobby
function: SelectBetween
dependencies: 3
4
inputs: duration
greater