Question: Which is longer, Shanghai released in Turkey or Mr. Smith Goes to Washington starring Claude Rains?
Choices: Curse of the Golden Flower
Talk to Her
The Fifth Element
Mr. Smith Goes to Washington
The Hunchback of Notre Dame
Training Day
The Towering Inferno
Rebecca
A Prairie Home Companion
Shanghai
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shanghai" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Turkey" .   } UNION { ?e <pred:name> "Mr. Smith Goes to Washington" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Claude Rains" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Turkey
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Shanghai
function: And
dependencies: 1
2
function: Find
inputs: Claude Rains
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Mr. Smith Goes to Washington
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Mr. Smith Goes to Washington