Question: Which movie is shorter, Kill Bill Volume 1 or Black Sabbath (the one that mainly depicts supernatural)?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Black Sabbath
Talk to Her
Kill Bill Volume 1
Training Day
The Towering Inferno
Rebecca
Program:
function: Find
inputs: Kill Bill Volume 1
function: Find
inputs: supernatural
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: Black Sabbath
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kill Bill Volume 1" .  } UNION { ?e <pred:name> "Black Sabbath" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "supernatural" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Black Sabbath