Community definition via db