Question: Among the animated films distributed in the United Kingdom, which one has the smallest cost?
Choices:
The Polar Express
Naruto Shippuden the Movie: Bonds
Wonder Woman
Magic Knight Rayearth
Superman
My-HiME
Ponyo on the Cliff by the Sea
Code Geass
Anastasia
Who Framed Roger Rabbit
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: cost
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Anastasia