A local family has sold a six-unit apartment and retail building in downtown Somerville, in a newly announced deal by Deluccia Commercial Group.