Question: Which animated movie whose lyrics are written by Stephen Schwartz has the longest runtime?
Choices:
Aladdin
Pocahontas
Renaissance
Shrek 2
The Hunchback of Notre Dame
The Rescuers
Peter Pan
WALL·E
Beauty and the Beast
Lilo & Stitch
Program:
function: Find
inputs: Stephen Schwartz
function: Relate
dependencies: 0
inputs: lyrics by
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 <lyrics_by> ?e_1 . ?e_1 <pred:name> "Stephen Schwartz" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hunchback of Notre Dame