Application of graphs and their properties in database technology a special reference to graph databases