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