Question: Which one, Pittsburgh (the one whose composer is Hans J. Salter) or They Shoot Horses, Don't They?, has less duration?
Choices:
They Shoot Horses, Don't They?
Pittsburgh
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Pleasantville
Rebecca
The Towering Inferno
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Hans J. Salter
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: Find
inputs: They Shoot Horses, Don't They?
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pittsburgh" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Hans J. Salter" .   } UNION { ?e <pred:name> "They Shoot Horses, Don't They?" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pittsburgh