Question: Which of the following works, The Wrestler (with USA as its country) or Great Expectations (with a Czech Reublic region of release), has the longer length?
Choices: The Hunchback of Notre Dame
Great Expectations
The Wrestler
Training Day
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Talk to Her
A Prairie Home Companion
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Expectations" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Czech Republic" .   } UNION { ?e <pred:name> "The Wrestler" . ?e <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Czech Republic
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: The Wrestler
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Great Expectations