Semantic Neural Network