Skip to main content
Top
Published in: Software and Systems Modeling 4/2023

26-12-2022 | Regular Paper

Visual query languages to design complex queries: a systematic literature review

Authors: Edson Silva, Robson Fidalgo, Márcio Ferro, Natália Franco

Published in: Software and Systems Modeling | Issue 4/2023

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Structured query language (SQL) is a widely used language for accessing both relational and non-relational databases. SQL is the standard form of access in relational databases, while in non-relational databases, SQL is becoming increasingly available and consolidating itself as an access interface for querying data in cluster environments. Despite its declarative syntax, the specification of SQL queries is not a trivial task, even for experts, because some queries demand complex constructs (i.e., subqueries, joins, set operations, conditional expressions, grouping restrictions, and recursion). Visual query languages (VQLs) are an alternative to reduce this complexity. However, although several VQLs have been proposed, they are not widely used in practice. By identifying and analyzing the support provided by VQLs that make it possible to design complex SQL queries, this study collected evidence that helps discover the strengths and weaknesses of each VQL, providing useful feedback for other research initiatives that seek to propose improved VQLs. For this purpose, a systematic literature review was carried out. After analyzing 22 relevant studies and performing 462 inspections, this review points to the need for more expressive VQLs, computer-aided software engineering (CASE) tools available to end users, and more rigorous evaluations to investigate the VQL syntax and semantics.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Footnotes
2
https://​www.​covidence.​org—a meta-analysis tool to assist in screening the search results to identify the included studies, carry out the risk of bias assessment and data extraction.
 
Literature
1.
go back to reference Abouzied, A., Hellerstein, J., Silberschatz, A.: Dataplay: Interactive tweaking and example-driven correction of graphical database queries. In: Proceedings of the 25th Annual ACM Symposium on User Interface Software and Technology, UIST ’12, pp. 207–218. ACM, New York, NY, USA (2012). https://doi.org/10.1145/2380116.2380144 Abouzied, A., Hellerstein, J., Silberschatz, A.: Dataplay: Interactive tweaking and example-driven correction of graphical database queries. In: Proceedings of the 25th Annual ACM Symposium on User Interface Software and Technology, UIST ’12, pp. 207–218. ACM, New York, NY, USA (2012). https://​doi.​org/​10.​1145/​2380116.​2380144
2.
go back to reference ACM, IEEE: Computer science curricula,: curriculum guidelines for undergraduate degree programs in computer science. ACM, NY, USA 2013, 999133 (2013) ACM, IEEE: Computer science curricula,: curriculum guidelines for undergraduate degree programs in computer science. ACM, NY, USA 2013, 999133 (2013)
3.
go back to reference ACM/IEEE: Information technology curricula 2017: curriculum guidelines for baccalaureate degree programs in information technology. ACM, NY, USA (2017) ACM/IEEE: Information technology curricula 2017: curriculum guidelines for baccalaureate degree programs in information technology. ACM, NY, USA (2017)
7.
go back to reference Badampudi, D., Wohlin, C., Petersen, K.: Experiences from using snowballing and database searches in systematic literature studies. In: Proceedings of the 19th International Conference on Evaluation and Assessment in Software Engineering, pp. 1–10 (2015) Badampudi, D., Wohlin, C., Petersen, K.: Experiences from using snowballing and database searches in systematic literature studies. In: Proceedings of the 19th International Conference on Evaluation and Assessment in Software Engineering, pp. 1–10 (2015)
8.
go back to reference Badre, A.N., Catarci, T., Massari, A., Santucci, G.: Comparative ease of use of a diagrammatic vs. an iconic query language. In: IDS, p. 4 (1996) Badre, A.N., Catarci, T., Massari, A., Santucci, G.: Comparative ease of use of a diagrammatic vs. an iconic query language. In: IDS, p. 4 (1996)
9.
go back to reference Bakke, E., Karger, D.R.: Expressive query construction through direct manipulation of nested relational results. In: Proceedings of the 2016 International Conference on Management of Data, SIGMOD ’16, pp. 1377–1392. ACM, New York, NY, USA (2016). https://doi.org/10.1145/2882903.2915210 Bakke, E., Karger, D.R.: Expressive query construction through direct manipulation of nested relational results. In: Proceedings of the 2016 International Conference on Management of Data, SIGMOD ’16, pp. 1377–1392. ACM, New York, NY, USA (2016). https://​doi.​org/​10.​1145/​2882903.​2915210
10.
go back to reference Bloesch, A.C., Halpin, T.A.: Conceptual queries using conquer-ii. In: International Conference on Conceptual Modeling, pp. 113–126. Springer (1997) Bloesch, A.C., Halpin, T.A.: Conceptual queries using conquer-ii. In: International Conference on Conceptual Modeling, pp. 113–126. Springer (1997)
11.
go back to reference Borges, C.R., Macías, J.A.: Feasible database querying using a visual end-user approach. In: Proceedings of the 2Nd ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS ’10, pp. 187–192. ACM, New York, NY, USA (2010). https://doi.org/10.1145/1822018.1822047 Borges, C.R., Macías, J.A.: Feasible database querying using a visual end-user approach. In: Proceedings of the 2Nd ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS ’10, pp. 187–192. ACM, New York, NY, USA (2010). https://​doi.​org/​10.​1145/​1822018.​1822047
13.
go back to reference Catarci, T., Costabile, M.F., Levialdi, S., Batini, C.: Visual query systems for databases: a survey. J. Vis. Lang. Comput. 8(2), 215–260 (1997)CrossRef Catarci, T., Costabile, M.F., Levialdi, S., Batini, C.: Visual query systems for databases: a survey. J. Vis. Lang. Comput. 8(2), 215–260 (1997)CrossRef
15.
go back to reference Cerullo, C., Porta, M.: A system for database visual querying and query visualization: Complementing text and graphics to increase expressiveness. In: 18th International Workshop on Database and Expert Systems Applications (DEXA 2007), pp. 109–113 (2007). https://doi.org/10.1109/DEXA.2007.91 Cerullo, C., Porta, M.: A system for database visual querying and query visualization: Complementing text and graphics to increase expressiveness. In: 18th International Workshop on Database and Expert Systems Applications (DEXA 2007), pp. 109–113 (2007). https://​doi.​org/​10.​1109/​DEXA.​2007.​91
17.
18.
go back to reference Darmawikarta, D.: Oracle SQL. a beginner’s tutorial. Brainy Software Inc, Boston (2016) Darmawikarta, D.: Oracle SQL. a beginner’s tutorial. Brainy Software Inc, Boston (2016)
19.
go back to reference DeMarco, T.: Structure analysis and system. in: specification pioneers and their contributions to software engineering. Springer, Cham (1979) DeMarco, T.: Structure analysis and system. in: specification pioneers and their contributions to software engineering. Springer, Cham (1979)
22.
go back to reference Gryz, J., Wang, Q., Qian, X., Zuzarte, C.: Sql queries with case expressions. in: foundations of intelligent systems. Springer, Berlin Heidelberg, Berlin (2008)CrossRef Gryz, J., Wang, Q., Qian, X., Zuzarte, C.: Sql queries with case expressions. in: foundations of intelligent systems. Springer, Berlin Heidelberg, Berlin (2008)CrossRef
23.
go back to reference Halpin, T., Bloesch, A.: Data modeling in uml and orm: a comparison. J. Database Manage.(JDM) 10(4), 4–13 (1999)CrossRef Halpin, T., Bloesch, A.: Data modeling in uml and orm: a comparison. J. Database Manage.(JDM) 10(4), 4–13 (1999)CrossRef
27.
go back to reference Jaakkola, H., Thalheim, B.: Visual SQL - high-quality ER-based query treatment. Springer, Berlin Heidelberg, Berlin (2003)CrossRef Jaakkola, H., Thalheim, B.: Visual SQL - high-quality ER-based query treatment. Springer, Berlin Heidelberg, Berlin (2003)CrossRef
28.
go back to reference Kawash, J.: Complex quantification in structured query language (sql): a tutorial using relational calculus. J. Computers Math. Sci. Teach. 23(2), 169–190 (2004) Kawash, J.: Complex quantification in structured query language (sql): a tutorial using relational calculus. J. Computers Math. Sci. Teach. 23(2), 169–190 (2004)
29.
go back to reference Keim, D.A., Lum, V.: Visual query specification in a multimedia database system. In: Proceedings of the 3rd Conference on Visualization ’92, VIS ’92, pp. 194–201. IEEE Computer Society Press, Los Alamitos, CA, USA (1992) Keim, D.A., Lum, V.: Visual query specification in a multimedia database system. In: Proceedings of the 3rd Conference on Visualization ’92, VIS ’92, pp. 194–201. IEEE Computer Society Press, Los Alamitos, CA, USA (1992)
30.
go back to reference Keramopoulos, E., Pouyioutas, P., Sadler, C.: Goql, a graphical query language for object-oriented database systems. In: Proceedings of the 3rd Basque International Workshop on Information Technology (BIWIT ’97), BIWIT ’97, pp. 35–. IEEE Computer Society, Washington, DC, USA (1997) Keramopoulos, E., Pouyioutas, P., Sadler, C.: Goql, a graphical query language for object-oriented database systems. In: Proceedings of the 3rd Basque International Workshop on Information Technology (BIWIT ’97), BIWIT ’97, pp. 35–. IEEE Computer Society, Washington, DC, USA (1997)
31.
go back to reference Kitchenham, B., Charters, S.: Guidelines for performing systematic literature reviews in software engineering. Keele University and Durham University Joint Report, Tech. rep. (2007) Kitchenham, B., Charters, S.: Guidelines for performing systematic literature reviews in software engineering. Keele University and Durham University Joint Report, Tech. rep. (2007)
32.
go back to reference Klug, A.C.: Abe: A query language for constructing aggregates-by-example. In: Proceedings of the 1st LBL Workshop on Statistical Database Management, SSDBM’81, pp. 190–205. Lawrence Berkeley Laboratory, Berkeley, CA, US (1981) Klug, A.C.: Abe: A query language for constructing aggregates-by-example. In: Proceedings of the 1st LBL Workshop on Statistical Database Management, SSDBM’81, pp. 190–205. Lawrence Berkeley Laboratory, Berkeley, CA, US (1981)
34.
go back to reference Leventidis, A., Zhang, J., Dunne, C., Gatterbauer, W., Jagadish, H., Riedewald, M.: Queryvis: Logic-based diagrams help users understand complicated sql queries faster. In: Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, pp. 2303–2318 (2020) Leventidis, A., Zhang, J., Dunne, C., Gatterbauer, W., Jagadish, H., Riedewald, M.: Queryvis: Logic-based diagrams help users understand complicated sql queries faster. In: Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, pp. 2303–2318 (2020)
35.
go back to reference Lloret-Gazo, J.: A survey on visual query systems in the web era. In: Hartmann, S., Ma, H. (eds.) Database and expert systems applications. Springer International Publishing, Cham (2016) Lloret-Gazo, J.: A survey on visual query systems in the web era. In: Hartmann, S., Ma, H. (eds.) Database and expert systems applications. Springer International Publishing, Cham (2016)
36.
go back to reference Maxwell, J.A.: Qualitative research design: an interactive approach. Sage publications, London (2012) Maxwell, J.A.: Qualitative research design: an interactive approach. Sage publications, London (2012)
43.
go back to reference Ramos, H.B.: Design and implementation of a graphical sql with generic capabilities. In: Cooper, R. (ed.) Interfaces to database systems (IDS92). Springer, London (1993) Ramos, H.B.: Design and implementation of a graphical sql with generic capabilities. In: Cooper, R. (ed.) Interfaces to database systems (IDS92). Springer, London (1993)
44.
go back to reference Santucci, G., Sottile, P.A.: Query by diagram: a visual environment for querying databases. Softw: Pract Exp 23(3), 317–340 (1993) Santucci, G., Sottile, P.A.: Query by diagram: a visual environment for querying databases. Softw: Pract Exp 23(3), 317–340 (1993)
45.
go back to reference Silva, E., Franco, N., Ferro, M., Fidalgo, R.: Mental workload impact of a visual language on understanding sql queries. In: Brazilian Symposium on Computers in Education (Simpósio Brasileiro de Informática na Educação-SBIE), vol. 30, p. 239 (2019) Silva, E., Franco, N., Ferro, M., Fidalgo, R.: Mental workload impact of a visual language on understanding sql queries. In: Brazilian Symposium on Computers in Education (Simpósio Brasileiro de Informática na Educação-SBIE), vol. 30, p. 239 (2019)
53.
go back to reference Ware, C.: Chapter 9 - images, words, and gestures. In: Ware, C. (ed.) Information visualization (second edition), interactive technologies, second, edition Academic Press, San Diego (2004) Ware, C.: Chapter 9 - images, words, and gestures. In: Ware, C. (ed.) Information visualization (second edition), interactive technologies, second, edition Academic Press, San Diego (2004)
56.
go back to reference Zloof, M.M., et al.: Query by example. In: AFIPS national computer conference, vol. 44, pp. 431–438 (1975) Zloof, M.M., et al.: Query by example. In: AFIPS national computer conference, vol. 44, pp. 431–438 (1975)
Metadata
Title
Visual query languages to design complex queries: a systematic literature review
Authors
Edson Silva
Robson Fidalgo
Márcio Ferro
Natália Franco
Publication date
26-12-2022
Publisher
Springer Berlin Heidelberg
Published in
Software and Systems Modeling / Issue 4/2023
Print ISSN: 1619-1366
Electronic ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-022-01071-4

Other articles of this Issue 4/2023

Software and Systems Modeling 4/2023 Go to the issue

Premium Partner