model, query and cache for SLDBs getLeaderboards()