Question: Which is shorter, The Last Song or A View to a Kill produced by Michael G. Wilson?
Choices:
The Hunchback of Notre Dame
Talk to Her
A Prairie Home Companion
A View to a Kill
Training Day
Rebecca
The Towering Inferno
The Last Song
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: The Last Song
function: Find
inputs: Michael G. Wilson
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: A View to a Kill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last Song" .  } UNION { ?e <pred:name> "A View to a Kill" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Michael G. Wilson" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Last Song