Question: Which animated feature film scripted by Andrew Stanton has the longest run-time?
Choices:
Winnie the Pooh
A Bug's Life
Beauty and the Beast
Aladdin
Toy Story
WALL·E
The Rescuers
Toy Story 2
Finding Nemo
Renaissance
Program:
function: Find
inputs: Andrew Stanton
function: Relate
dependencies: 0
inputs: screenwriter
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 <screenwriter> ?e_1 . ?e_1 <pred:name> "Andrew Stanton" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: WALL·E