Question: Which is the longer of the two, From Here to Eternity with its USA release region, or Great Expectations, which debuted regionally at the Toronto International Film Festival in 2012?
Choices:
From Here to Eternity
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Talk to Her
Training Day
The Fifth Element
Rebecca
The Towering Inferno
Great Expectations
Program:
function: Find
inputs: 2012 Toronto International Film Festival
function: Relate
dependencies: 0
inputs: film regional debut venue
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: From Here to Eternity
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Expectations" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "2012 Toronto International Film Festival" .   } UNION { ?e <pred:name> "From Here to Eternity" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Great Expectations