Question: Among the animated feature films composed by Randy Newman, which has the longest duration?
Choices:
Cars
Toy Story 3
The Rescuers
Aladdin
Monsters, Inc.
Beauty and the Beast
Toy Story 2
A Bug's Life
Toy Story
WALL·E
Program:
function: Find
inputs: Randy Newman
function: Relate
dependencies: 0
inputs: composer
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 <composer> ?e_1 . ?e_1 <pred:name> "Randy Newman" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cars