Question: Which is the longest among the animated films whose cost is not 7800000 USD?
Choices:
Bolt
Wonder Woman
Anastasia
Superman
Wreck-It Ralph
Magic Knight Rayearth
The Lion King
Code Geass
Who Framed Roger Rabbit
Ponyo on the Cliff by the Sea
Answer: Wreck-It Ralph
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "7800000"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
7800000 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: animated film
function: SelectAmong
dependencies: 2
inputs: duration
largest