Question: Is the longer work Friday Night Lights, released in Japan, or Transformers, released in Greece?
Choices:
Curse of the Golden Flower
Rebecca
Talk to Her
Friday Night Lights
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
The Towering Inferno
Transformers
Training Day
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Friday Night Lights
function: And
dependencies: 1
2
function: Find
inputs: Greece
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Transformers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Friday Night Lights" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Japan" .   } UNION { ?e <pred:name> "Transformers" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Greece" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Transformers