Question: Which is shorter, The Queen or The Green Hornet produced by Neal H. Moritz?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Pleasantville
The Fifth Element
The Queen
Training Day
Rebecca
The Green Hornet
Program:
function: Find
inputs: The Queen
function: Find
inputs: Neal H. Moritz
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Queen" .  } UNION { ?e <pred:name> "The Green Hornet" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Neal H. Moritz" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Queen