Added fromt end for Knowledge Graph. TODO: Check passing of JSON to knowlegde graph.