Implementing Knowledge Database in Neural Networks