Question: Which is the longest among the 3D films whose cost is not 56000000 USD?
Choices:
Jesse McCartney
Mark Damon
ParaNorman
Voltaire
Janel Moloney
Piranha 3D
Miracle on 34th Street
Avatar
Frankenweenie
The Smurfs
Answer: Avatar
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "56000000"^^xsd:double ) . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: cost
56000000 United States dollar
!=
function: FilterConcept
dependencies: 1
inputs: 3D film
function: SelectAmong
dependencies: 2
inputs: duration
largest