Group and Topic Discovery from Relations and Their Attributes