Question: Which is shorter, A Prophet or Bobby composed by Laxmikant-Pyarelal?
Choices:
A Prophet
Rebecca
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Bobby
Training Day
Talk to Her
Program:
function: Find
inputs: A Prophet
function: Find
inputs: Laxmikant-Pyarelal
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Bobby
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Prophet" .  } UNION { ?e <pred:name> "Bobby" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Laxmikant-Pyarelal" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Prophet