Question: Is the shorter work The Damned, hailing from France, or Lock, Stock and Two Smoking Barrels?
Choices:
The Hunchback of Notre Dame
The Damned
Talk to Her
Curse of the Golden Flower
The Towering Inferno
Rebecca
The Fifth Element
Training Day
A Prairie Home Companion
Pleasantville
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Damned
function: And
dependencies: 1
2
function: Find
inputs: Lock, Stock and Two Smoking Barrels
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Damned" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Lock, Stock and Two Smoking Barrels" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Damned