The use of graphs in databases: Advantages and options