Question: Of animated movies produced by Polish citizen Max Fleischer, which is shortest?
Choices:
A Christmas Carol
Anastasia
Superman
Code Geass
The Polar Express
My-HiME
Ponyo on the Cliff by the Sea
Wonder Woman
Naruto Shippuden the Movie: Bonds
Magic Knight Rayearth
Answer: Superman
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Max Fleischer" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "Poland" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Poland
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Max Fleischer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: animated film
function: SelectAmong
dependencies: 5
inputs: duration
smallest