Question: Which has the largest cost among the films with a box office greater than 800000000 US dollars?
Choices:
American Pie
Final Destination
Rugrats
Die Hard
Rocky
The Smurfs
Star Wars
The Fast and the Furious
Ice Age
The Mummy
Answer: Rocky
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film series" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "80000000"^^xsd:double ) . ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: box office
80000000 United States dollar
>
function: FilterConcept
dependencies: 1
inputs: film series
function: SelectAmong
dependencies: 2
inputs: cost
largest