Question: Which was longer, Never Let Me Go (produced by 20th Century Fox) or the Swedish version of Footloose?
Choices:
Pleasantville
The Towering Inferno
Training Day
Footloose
The Fifth Element
Rebecca
A Prairie Home Companion
Talk to Her
Never Let Me Go
The Hunchback of Notre Dame
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Never Let Me Go
function: And
dependencies: 1
2
function: Find
inputs: Sweden
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Footloose
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Never Let Me Go" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "Footloose" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Sweden" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Footloose