which has already been used for years as an
alternative graphical query language for relational
databases. The strong point of the QBE approach is
its ability to present inexperienced users with a clear
and simple graphical interface for query formulation,
thus eliminating the need for a deep understanding of
the underlying query language syntax. Our proposed
CBE language follows the same thought, and
provides a visual graph querying interface for graph
database practitioners with little or no knowledge of
the Cypher query language syntax or the graph
database technology in general. However, unlike
other visual graph querying approaches introduced so
far, the CBE language follows the QBE design
principles strictly, and allows users to adjust graph
query parameters in more detail. We described the
system architecture of the proposed CBE language,
and discussed the currently supported graph query
patterns, which can be used to formulate queries via
the CBE language interface. Furthermore, we
performed a case study on two use cases to
demonstrate the usability of the proposed CBE
language for inserting and querying nodes and edges
in graph databases. As part of our future work, we
plan to extend the list of supported graph query
patterns to more complex graph structures such as
subgraphs as well as other operators for managing
different graph database structures (e.g. adding new
node labels and edge types, deleting nodes/edges,
creating indexes, triggers, stored procedures, etc.).
We will also continue our work on improving the
visual interface by integrating an appropriate auto-
complete framework to additionally simplify the
query formulation process for the user.
ACKNOWLEDGMENTS
This work was funded by the Slovenian Research Agency
(Research Core Funding No. P2-0057).
REFERENCES
Angles, R. (2018). The Property Graph Database Model. In
Proceedings of AMW 2018.
Bhowmick, S. S., & Choi, B. (2022). Data-driven visual
query interfaces for graphs: Past, present, and (near)
future. In Proceedings of the 2022 International
Conference on Management of Data (pp. 2441–2447).
ACM.
Bhowmick, S. S., Choi, B., & Li, C. (2017). Graph querying
meets HCI: State of the art and future directions. In
Proceedings of the 2017 ACM International
Conference on Management of Data (pp. 1731–1736).
ACM.
Bhowmick, S. S., Choi, B., & Zhou, S. (2013). Vogue:
Towards a visual interaction-aware graph query
processing framework. In Proceedings of CIDR 2013.
Jin, C., Bhowmick, S. S., Xiao, X., Choi, B., & Zhou, S.
(2011). Gblender: Visual subgraph query formulation
meets query processing. In Proceedings of the 2011
ACM SIGMOD International Conference on
Management of Data (pp. 1327–1330). ACM.
Pabon, M. C., Millan, M., Roncancio, C., & Collazos, C. A.
(2019). Graphtql: A visual query system for graph
databases. Journal of Computer Languages, 51, 97–
111.
Pienta, R., Hohman, F., Tamersoy, A., Endert, A., Navathe,
S., Tong, H., & Chau, D. H. (2017). Visual graph query
construction and refinement. In Proceedings of the
2017 ACM International Conference on Management
of Data (pp. 1587–1590). ACM.
Pienta, R., Tamersoy, A., Endert, A., Navathe, S., Tong, H.,
& Chau, D. H. (2016). Visage: Interactive visual graph
querying. In Proceedings of the International Working
Conference on Advanced Visual Interfaces (pp. 272–
279). ACM.
Rabuzin, K., Maleković, M., & Sestak, M. (2016). Gremlin
by example. In Proceedings of the International
Conference on Advances in Big Data Analytics (pp.
144–149).
Robinson, I., Webber, J., & Eifrem, E. (2015). Graph
databases: New opportunities for connected data.
O’Reilly Media, Inc.
Sestak, M., Heričko, M., Družovec, T. W., & Turkanović,
M. (2021). Applying k-vertex cardinality constraints on
a neo4j graph database. Future Generation Computer
Systems, 115, 459–474.
Sharma, C. (2020). Flux: From SQL to GQL query
translation tool. In Proceedings of the 2020 35th
IEEE/ACM International Conference on Automated
Software Engineering (ASE) (pp. 1379–1381). IEEE.
Yi, P., Choi, B., Bhowmick, S. S., & Xu, J. (2016). Autog:
A visual query autocompletion framework for graph
databases. Proceedings of the VLDB Endowment,
9(13), 1505–1508.
Zhang, J., Bhowmick, S. S., Nguyen, H. H., Choi, B., &
Zhu, F. (2015). Davinci: Data-driven visual interface
construction for subgraph search in graph databases. In
Proceedings of the 2015 IEEE 31st International
Conference on Data Engineering (pp. 1500–1503).
IEEE.
Zloof, M. M. (1977). Query-by-example: A data base
language. IBM Systems Journal, 16(4), 324–343.