Question: Which one is longer, 28 Days Later or All the King's Men (the one whose composer is James Horner) ?
Choices: Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
The Towering Inferno
Training Day
All the King's Men
The Fifth Element
28 Days Later
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "28 Days Later" .  } UNION { ?e <pred:name> "All the King's Men" . ?e <composer> ?e_1 . ?e_1 <pred:name> "James Horner" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 28 Days Later
function: Find
inputs: James Horner
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: All the King's Men
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: All the King's Men