Question: Which movie is shorter, Bullets Over Broadway or The Maltese Falcon (the one that is written by Dashiell Hammett)?
Choices: A Prairie Home Companion
Rebecca
Talk to Her
The Towering Inferno
The Maltese Falcon
The Hunchback of Notre Dame
Pleasantville
Training Day
Bullets Over Broadway
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bullets Over Broadway" .  } UNION { ?e <pred:name> "The Maltese Falcon" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Dashiell Hammett" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bullets Over Broadway
function: Find
inputs: Dashiell Hammett
function: Relate
dependencies: 1
inputs: after a work by
backward
function: Find
inputs: The Maltese Falcon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Bullets Over Broadway