Question: Which is longer between Dumb and Dumber (the US version) or Hoffa?
Choices:
The Fifth Element
Talk to Her
Rebecca
Hoffa
Dumb and Dumber
Training Day
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 1
2
function: Find
inputs: Hoffa
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dumb and Dumber" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Hoffa" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hoffa