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