Question: Of animated films distributed by Tōhō, which has the longest running time?
Choices:
Spirited Away
A Christmas Carol
Ponyo on the Cliff by the Sea
Wonder Woman
Anastasia
Code Geass
Magic Knight Rayearth
Naruto Shippuden the Movie: Bonds
Superman
The Polar Express
Program:
function: Find
inputs: Tōhō
function: Relate
dependencies: 0
inputs: distributor
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 <distributor> ?e_1 . ?e_1 <pred:name> "Tōhō" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spirited Away