Management System for Tagged Image Databases Using Lattice Structures