Knowledge based regulation of statistical databases