Question: Which is shorter, Along Came a Spider, originating in Canada, or The Treasure of the Sierra Madre?
Choices:
Along Came a Spider
Training Day
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
The Towering Inferno
Pleasantville
Curse of the Golden Flower
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Along Came a Spider
function: And
dependencies: 1
2
function: Find
inputs: The Treasure of the Sierra Madre
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Along Came a Spider" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "The Treasure of the Sierra Madre" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Along Came a Spider