Question: Is the shorter work Along Came Polly or The League of Extraordinary Gentlemen, produced by Sean Connery?
Choices:
Pleasantville
The Towering Inferno
A Prairie Home Companion
Training Day
Curse of the Golden Flower
Along Came Polly
Rebecca
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Along Came Polly
function: Find
inputs: Sean Connery
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: The League of Extraordinary Gentlemen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Along Came Polly" .  } UNION { ?e <pred:name> "The League of Extraordinary Gentlemen" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Sean Connery" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Along Came Polly