Update KnowledgeGraph.java