Ontology Reasoning with Deep Neural Networks