Question: Which movie is shorter, Midnight's Children (the one whose release region is Germany) or Amour?
Choices:
Rebecca
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Midnight's Children
Talk to Her
The Fifth Element
A Prairie Home Companion
Amour
The Towering Inferno
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Midnight's Children
function: And
dependencies: 1
2
function: Find
inputs: Amour
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Midnight's Children" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Amour" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Amour