Question: Which movie is shorter, The Goonies (the one that is distributed at United Kingdom) or This Is Spinal Tap?
Choices:
This Is Spinal Tap
Rebecca
A Prairie Home Companion
The Goonies
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Training Day
Curse of the Golden Flower
The Fifth Element
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: Find
inputs: The Goonies
function: And
dependencies: 1
2
function: Find
inputs: This Is Spinal Tap
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Goonies" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "This Is Spinal Tap" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: This Is Spinal Tap