Question: Of animated feature films, whose composer is John Powell (the composer of The Bourne Supremacy), which one is the longest ?
Choices: The Lorax
Robots
Ice Age: Dawn of the Dinosaurs
The Rescuers
WALL·E
How to Train Your Dragon
Shrek
Happy Feet
Aladdin
Beauty and the Beast
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <composer> ?e_1 . ?e_1 <pred:name> "John Powell" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> "The Bourne Supremacy" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Bourne Supremacy
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: John Powell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest
Answer: Happy Feet