Question: Which movie is shorter, A Man for All Seasons (the one whose composer is Georges Delerue) or Yankee Doodle Dandy?
Choices:
The Towering Inferno
Talk to Her
Pleasantville
A Man for All Seasons
Yankee Doodle Dandy
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Training Day
Rebecca
Program:
function: Find
inputs: Georges Delerue
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 1
2
function: Find
inputs: Yankee Doodle Dandy
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Man for All Seasons" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Georges Delerue" .   } UNION { ?e <pred:name> "Yankee Doodle Dandy" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Man for All Seasons