Question: Which is longest among the animated films written by Charles Dickens?
Choices:
Superman
Naruto Shippuden the Movie: Bonds
My-HiME
The Polar Express
Anastasia
A Christmas Carol
Ponyo on the Cliff by the Sea
A Christmas Carol
Code Geass
Magic Knight Rayearth
Program:
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 0
inputs: after a work by
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Charles Dickens" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Christmas Carol