First version of the parser to construct the graph, research paper