Related resources for shapes in database