Question: Which movie is longer, Hope and Glory or The Spiderwick Chronicles (the one whose composer is James Horner)?
Choices:
Hope and Glory
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Pleasantville
The Spiderwick Chronicles
A Prairie Home Companion
Rebecca
Talk to Her
Answer: Hope and Glory
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hope and Glory" .  } UNION { ?e <pred:name> "The Spiderwick Chronicles" . ?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: Hope and Glory
function: Find
inputs: James Horner
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: The Spiderwick Chronicles
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater