Question: Which one of animated feature films, distributed by Walt Disney Studios Motion Pictures, is the longest?
Choices:
The Princess and the Frog
Hercules
Beauty and the Beast
Winnie the Pooh
Aladdin
The Hunchback of Notre Dame
The Little Mermaid
Mulan
Pocahontas
Treasure Planet
Answer: Hercules
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest