Question: Which movie is shorter, Coriolanus (the one whose regional debut venue is Berlin International Film Festival) or The Great Gatsby (the one whose producer is Jesse Louis Lasky)?
Choices:
The Hunchback of Notre Dame
Coriolanus
The Great Gatsby
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Training Day
Pleasantville
A Prairie Home Companion
Talk to Her
Program:
function: Find
inputs: Berlin International Film Festival
function: Relate
dependencies: 0
inputs: film regional debut venue
backward
function: Find
inputs: Coriolanus
function: And
dependencies: 1
2
function: Find
inputs: Jesse Louis Lasky
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coriolanus" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "Berlin International Film Festival" .   } UNION { ?e <pred:name> "The Great Gatsby" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Jesse Louis Lasky" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Great Gatsby