Question: Which movie is longer, That Thing You Do! or The Nutty Professor (the one whose release region is United States of America)?
Choices:
That Thing You Do!
Training Day
Rebecca
Curse of the Golden Flower
The Nutty Professor
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: That Thing You Do!
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Nutty Professor
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "That Thing You Do!" .  } UNION { ?e <pred:name> "The Nutty Professor" . ?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
Answer: That Thing You Do!