Question: Which is shorter, Shutter Island or The Man Who Knew Too Much that origins from the U.K.?
Choices:
The Man Who Knew Too Much
Training Day
The Towering Inferno
Rebecca
Talk to Her
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: Shutter Island
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: The Man Who Knew Too Much
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shutter Island" .  } UNION { ?e <pred:name> "The Man Who Knew Too Much" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Man Who Knew Too Much