Question: Of the animated films shorter than 400 minutes long, which has the longest duration?
Choices:
The Bodyguard
Ponyo on the Cliff by the Sea
Star Wars: The Clone Wars
Bolt
Summer Wars
Spirited Away
Fullmetal Alchemist the Movie: Conqueror of Shamballa
Wreck-It Ralph
Rango
The Three Musketeers
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
400 minute
!=
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "400"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spirited Away