Use SQL queries to directly lookup entities, attributes, associations
given the ownerId and the type (CommunityCtxDBMgr).