If yes, please give a reference. I did a little googling with no result. I want to use olap4j to query the cubes and use the result in a web application. But, I don't need any of the features of bi-server. According to tutorials, the olap schemas have to be published on an instance of bi-server. So isn't it really possible to have cubes built, processed and queried independently?
Olap4j is the main programming API for Mondrian. You do not need a Pentaho BI server to use Mondrian. You should read this tutorial to get you started.