Architecture that facilitates syntax processing for data mining
statements. The system includes a syntax engine that receives as an input
a query statement which, for example, is a data mining request. The
statement can be generated from many different sources, e.g., a client
application and/or a server application, and requests query processing of
a data source (e.g., a relational database) to return a result set. The
syntax engine includes a binding component that converts the query
statement into an encapsulated statement in accordance with a predefined
grammar. The encapsulated statement includes both data and data
operations to be performed on the data of the data source, and which is
understood by the data source. An execution component processes the
encapsulated statement against the data source to return the desired
result set.