Applying k-vertex cardinality constraints on a Neo4j graph database

被引:10
|
作者
Sestak, Martina [1 ]
Hericko, Marjan [1 ]
Druzovec, Tatjana Welzer [1 ]
Turkanovic, Muhamed [1 ]
机构
[1] Univ Maribor, Fac Elect Engn & Comp Sci, Koroska Cesta 46, Maribor 2000, Slovenia
关键词
k-vertex cardinality constraints; Graph databases; Property graph data model; Procedures; Business rules; Graph schema;
D O I
10.1016/j.future.2020.09.036
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
As with any other database solution, graph databases also need to be able to implement business rules related to a given application domain. At the moment, aside from integrity constraints, there is a limited number of mechanisms for business rules implementation in Graph Database Management Systems (GDBMSs). The underlying property graph data model does not include any formal notation on how to represent different constraints. Specifically, this paper discusses the problem of representing cardinality constraints in graph databases. We introduce the novel concept of k-vertex cardinality constraints, which enable us to specify the minimum and maximum number of edges between a vertex and a subgraph. We also propose an approach, which includes the representation of cardinality constraints through the property graph data model, and demonstrate its implementation through a series of stored procedures in Neo4j GDBMS. The proposed approach is then evaluated by performing experiments on synthetic and real datasets to test the influence of checking cardinality constraints on query execution times (QETs) when adding new edges. Additionally, a comparison is performed on synthetic datasets with varying outgoing vertex degrees in order to gain an insight into how increasing the vertex degree affects QETs. In general, the results obtained for each test scenario show that the implemented k-vertex cardinality constraints model does not significantly affect QETs. Also, the results indicate that the model is dependent on the order of the underlying k-vertex cardinality constraints and outgoing vertex degree in the dataset. (C) 2020 Elsevier B.V. All rights reserved.
引用
收藏
页码:459 / 474
页数:16
相关论文
共 50 条
  • [1] A spatially-pruned vertex expansion operator in the Neo4j graph database system
    Yuhan Sun
    Mohamed Sarwat
    [J]. GeoInformatica, 2019, 23 : 397 - 423
  • [2] Extended Property-level k-vertex Cardinality Constraints Model for Graph Databases
    Sestak, Martina
    Turkanovic, Muhamed
    [J]. JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2023, 35 (04) : 126 - 138
  • [3] A spatially-pruned vertex expansion operator in the Neo4j graph database system
    Sun, Yuhan
    Sarwat, Mohamed
    [J]. GEOINFORMATICA, 2019, 23 (03) : 397 - 423
  • [4] Encoding Feature Models in Neo4j Graph Database
    Shatnawi, Hazim
    Saquer, Jamil
    [J]. Proceedings of the 2024 ACM Southeast Conference, ACMSE 2024, : 157 - 166
  • [5] Encoding Feature Models in Neo4j Graph Database
    Shatnawi, Hazim
    Saquer, Jamil
    [J]. PROCEEDINGS OF THE 2024 ACM SOUTHEAST CONFERENCE, ACMSE 2024, 2024, : 157 - 166
  • [6] A cancer graph: a lung cancer property graph database in Neo4j
    Tuck, David
    [J]. BMC RESEARCH NOTES, 2022, 15 (01)
  • [7] A cancer graph: a lung cancer property graph database in Neo4j
    David Tuck
    [J]. BMC Research Notes, 15
  • [8] A graph database for life cycle inventory using Neo4j
    Saad, Mohamed
    Zhang, Yingzhong
    Tian, Jinghai
    Jia, Jia
    [J]. JOURNAL OF CLEANER PRODUCTION, 2023, 393
  • [9] Construction of typhoon disaster knowledge graph based on graph database Neo4j
    Liu, Pengcheng
    Huang, Yinliang
    Wang, Ping
    Zhao, Qifan
    Nie, Juan
    Tang, Yuyang
    Sun, Lei
    Wang, Hailei
    Wu, Xuelian
    Li, Wenbo
    [J]. PROCEEDINGS OF THE 32ND 2020 CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2020), 2020, : 3612 - 3616
  • [10] Construction of power projects knowledge graph based on graph database Neo4j
    Liu, Haibo
    Jiang, Guoyi
    Su, Linhua
    Cao, Yang
    Diao, Fengxin
    Mi, Lipeng
    [J]. PROCEEDINGS OF THE 2020 INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION AND TELECOMMUNICATION SYSTEMS (CITS), 2020, : 107 - 110