Question: Which one of animated feature films distributed in the UK is the longest ?
Choices:
Cars 2
Ice Age
Ice Age: Dawn of the Dinosaurs
Shark Tale
The Simpsons Movie
Happy Feet
Shrek
Shrek the Third
The Transformers: The Movie
Shrek 2
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Happy Feet