Question: Which movie is longer, Cabaret (the one that received Academy Award for Best Production Design) or To Kill a Mockingbird (the one whose release region is Finland)?
Choices:
Talk to Her
Rebecca
To Kill a Mockingbird
A Prairie Home Companion
Pleasantville
Cabaret
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Answer: To Kill a Mockingbird
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cabaret" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Production Design" .   } UNION { ?e <pred:name> "To Kill a Mockingbird" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Finland" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Cabaret
function: And
dependencies: 1
2
function: Find
inputs: Finland
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: To Kill a Mockingbird
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater