Question: Which movie is longer, Hot Fuzz or The Hitchhiker's Guide to the Galaxy (the one whose release region is United States of America)?
Choices:
The Fifth Element
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Hot Fuzz
Rebecca
Talk to Her
The Hitchhiker's Guide to the Galaxy
A Prairie Home Companion
Answer: Hot Fuzz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hot Fuzz" .  } UNION { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hot Fuzz
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater