MODELING AND STORING DATA IN GRAPH DATABASES

Authors

  • Khurshida Bakhrieva ALFRAGANUS UNIVERSITY
  • Sobirov Diyorbek ALFRAGANUS UNIVERSITY

Keywords:

Neo4j, SQL, graph DBMS, JSON, Cypher query language, Data Mode

Abstract

This paper presents the study of graph databases and their application in the context of social networks. It describes a data model that represents users, communities, and the relationships between them as a graph, where nodes represent objects and edges represent their relationships. The data structure in graph databases is compared to relational databases, emphasizing the freedom and flexibility to create and modify relationships between nodes without strict restrictions. A method for storing graph data structures is discussed, including the possibility of storing them in SQL tables using JSON, and the use of specialized graph DBMSs such as Neo4j. The specifics of data storage in Neo4j are highlighted, including caching for improving read/write performance and optimizing graph traversal. The paper emphasizes the Cypher query language, which is specifically used in Neo4j to work with graph data. Example queries with explanations are provided, demonstrating the capabilities of the Cypher language for working with data in graph databases. The conclusion discusses the application areas of graph databases, including fraud detection and supply chain mapping, how graph databases provide flexible options for storing information, and highlights their wide range of applications in various fields.

Author Biography

Sobirov Diyorbek, ALFRAGANUS UNIVERSITY

This paper presents the study of graph databases and their application in the context of social networks. It describes a data model that represents users, communities, and the relationships between them as a graph, where nodes represent objects and edges represent their relationships. The data structure in graph databases is compared to relational databases, emphasizing the freedom and flexibility to create and modify relationships between nodes without strict restrictions.

A method for storing graph data structures is discussed, including the possibility of storing them in SQL tables using JSON, and the use of specialized graph DBMSs such as Neo4j. The specifics of data storage in Neo4j are highlighted, including caching for improving read/write performance and optimizing graph traversal. The paper emphasizes the Cypher query language, which is specifically used in Neo4j to work with graph data. Example queries with explanations are provided, demonstrating the capabilities of the Cypher language for working with data in graph databases. The conclusion discusses the application areas of graph databases, including fraud detection and supply chain mapping, how graph databases provide flexible options for storing information, and highlights their wide range of applications in various fields.

References

Бартенев М.В., Вишняков И.Э. Использование графовых баз данных в целях оптимизации анализа биллинговой информации. Инженерный журнал: наука и инновации, 2013, вып. 11. URL: http://engjournal.ru/catalog/it/hidden/1058.html

Neo4J BatchInserter. URL: http://docs.neo4j.org/chunked/milestone/batchinsert.html

R. Angles and C. Gutierrez, 2008. Survey of graph database models. ACM Computing Surveys 40, 1, 1-39.

М.В. Бартенев, И.Э. Вишняков Использование графовых баз данных в целях оптимизации анализа биллинговой информации // Инженерный журнал: наука и инновации, 2013, вып. 11. URL: http://engjournal.ru/catalog/it/hidden/1058.html

Папуша С. И. Онтология и графовые базы данных // Economic problems and legal practice Vol. 16, №3, 2020 ISSN 2541-8025(print) ISSN 2712-7605(online)

Published

2024-09-11

How to Cite

Bakhrieva, K., & Sobirov , D. (2024). MODELING AND STORING DATA IN GRAPH DATABASES. DTAI – 2024, 1(DTAI), 129–132. Retrieved from https://dtai.tsue.uz/index.php/DTAI2024/article/view/xur2