Question: Which movie is longer, The Orphanage or Spartacus (the one whose regional debut venue is Berlin International Film Festival)?
Choices: Training Day
The Fifth Element
Talk to Her
The Orphanage
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Pleasantville
Spartacus
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Orphanage" .  } UNION { ?e <pred:name> "Spartacus" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "Berlin International Film Festival" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Orphanage
function: Find
inputs: Berlin International Film Festival
function: Relate
dependencies: 1
inputs: film regional debut venue
backward
function: Find
inputs: Spartacus
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Spartacus