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