Question: Of DreamWorks Animation-produced animated feature films, which is the longest?
Choices:
Kung Fu Panda 2
Shrek Forever After
Shark Tale
Shrek
The Prince of Egypt
How to Train Your Dragon
Madagascar
Shrek the Third
Puss in Boots
Madagascar 3: Europe's Most Wanted
Answer: The Prince of Egypt
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "DreamWorks Animation" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: DreamWorks Animation
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest