Question: Which has the largest box office among the films that are a notable work of M. Night Shyamalan?
Choices:
The Sixth Sense
Talk to Her
The Fifth Element
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Signs
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Answer: The Sixth Sense
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "M. Night Shyamalan" .  ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: M. Night Shyamalan
function: Relate
dependencies: 0
inputs: notable work
forward
function: FilterConcept
dependencies: 1
inputs: film
function: SelectAmong
dependencies: 2
inputs: box office
largest