Question: Which is longer, Juno that is distributed at the United Kingdom or Borat?
Choices:
Borat
Juno
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: Find
inputs: Juno
function: And
dependencies: 1
2
function: Find
inputs: Borat
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Juno" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Borat" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Juno