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