SlideShare a Scribd company logo
1 of 11
Download to read offline
Database Query Visualization
                                         An Empirical Study


                            Zuzel Vera Pacheco ā€“ M.Sc. program

                                              Supervisor:
                                        Prof. Gregory V. Wilson

                                      Software Engineering Group
                                          University of Toronto



                                     Scientiļ¬c Writing Course, 2010


Zuzel Vera (University of Toronto)          Database Query Visualization   Scientiļ¬c Writing Courseā€™10   1 / 11
Natural Language
Get the number of wins and the names of all the teams who scored a
goal at the 2010 World Cup. Arrange the results in descending order
based on the number of wins.

Structured Query Language (SQL)
SELECT team, wins FROM world_cups
  WHERE year = 2010 AND goals > 0 ORDER BY wins DESC;

Query By Example (QBE)
                    year             team   minutes_played                 goals   wins
                    2010               P.                                   >0     P.DO


   What is the best type of representation for a particular task?


Zuzel Vera (University of Toronto)          Database Query Visualization       Scientiļ¬c Writing Courseā€™10   2 / 11
Design of a Diagrammatic Notation
      Programmers use of ad hoc notations instead of standard
      notations (Cherubini et al., 2007)
      This project: designed and executed an empirical study to
      determine the common features of ad hoc notations




Zuzel Vera (University of Toronto)   Database Query Visualization   Scientiļ¬c Writing Courseā€™10   3 / 11
Table-based Notations

Zuzel Vera (University of Toronto)      Database Query Visualization   Scientiļ¬c Writing Courseā€™10   4 / 11
Order-based Notations

Zuzel Vera (University of Toronto)      Database Query Visualization   Scientiļ¬c Writing Courseā€™10   5 / 11
Artiļ¬cial Data Examples
Zuzel Vera (University of Toronto)       Database Query Visualization   Scientiļ¬c Writing Courseā€™10   6 / 11
Natural Language Descriptions



Zuzel Vera (University of Toronto)     Database Query Visualization   Scientiļ¬c Writing Courseā€™10   7 / 11
Notational Characteristics                             Participants      Percentages
(between subjects)                                     Yes     No        Yes    No
Table-based notation                                    19     11        63% 37%
Order-oriented notation                                 10     20        33% 67%
Natural language descriptions                            5     25        17% 83%
Artiļ¬cial data examples                                  8     22        27% 73%

                                     Preliminary Results



Zuzel Vera (University of Toronto)     Database Query Visualization   Scientiļ¬c Writing Courseā€™10   8 / 11
Work in Progress
      Code the data and analyze the order in which the diagrams were
      drawn
      Differentiate common vs. casual characteristics of the notations


Future Work
    Propose alternative notations for the representation of database
    queries
      Design studies comparing the proposed notations and SQL
      Develop and evaluate a query visualization tool




Zuzel Vera (University of Toronto)   Database Query Visualization   Scientiļ¬c Writing Courseā€™10   9 / 11
Summary
      We want to know what notation should be used to represent
      database queries.
      After conducting a study involving 30 participants, we are working
      on the analysis of the data
      Future work includes the development and evaluation of a query
      visualization tool.




Zuzel Vera (University of Toronto)   Database Query Visualization   Scientiļ¬c Writing Courseā€™10   10 / 11
Thanks!




Contact Information
   zuzelvp@cs.toronto.edu
      http://zuzelvp47uoft.wordpress.com
      Bahen Centre, room 3228




Zuzel Vera (University of Toronto)   Database Query Visualization   Scientiļ¬c Writing Courseā€™10   11 / 11

More Related Content

Viewers also liked

Rescate a lo gallego
Rescate a lo gallegoRescate a lo gallego
Rescate a lo gallegoBerli Onle
Ā 
Mercedes W124
Mercedes W124Mercedes W124
Mercedes W124filaplon
Ā 
Email Deliverability: 10 Myths and a Reality Check
Email Deliverability: 10 Myths and a Reality CheckEmail Deliverability: 10 Myths and a Reality Check
Email Deliverability: 10 Myths and a Reality CheckJustin Premick
Ā 
Iged s fontana-quando-la-firma-digitale-incontra-la-carta
Iged s fontana-quando-la-firma-digitale-incontra-la-cartaIged s fontana-quando-la-firma-digitale-incontra-la-carta
Iged s fontana-quando-la-firma-digitale-incontra-la-cartaSandro Fontana
Ā 
Periodic Table E Config
Periodic Table E ConfigPeriodic Table E Config
Periodic Table E ConfigRegis Komperda
Ā 
Beatifullibrariesintheworld2 1224805198195556 8
Beatifullibrariesintheworld2 1224805198195556 8Beatifullibrariesintheworld2 1224805198195556 8
Beatifullibrariesintheworld2 1224805198195556 8anabraga
Ā 
How to Create Killer Emails that Make Readers Love You
How to Create Killer Emails that Make Readers Love YouHow to Create Killer Emails that Make Readers Love You
How to Create Killer Emails that Make Readers Love YouJustin Premick
Ā 
Socialanatverk - oktober 09
Socialanatverk - oktober 09Socialanatverk - oktober 09
Socialanatverk - oktober 09tomhard
Ā 
Country report
Country reportCountry report
Country reportjschoen
Ā 
Paper E Sign La Firma Digitale Su Carta Seminario Epa
Paper E Sign  La Firma Digitale Su Carta   Seminario EpaPaper E Sign  La Firma Digitale Su Carta   Seminario Epa
Paper E Sign La Firma Digitale Su Carta Seminario EpaSandro Fontana
Ā 
What the Shrink Can Teach the Community Manager
What the Shrink Can Teach the Community ManagerWhat the Shrink Can Teach the Community Manager
What the Shrink Can Teach the Community ManagerBen Mason
Ā 
la firma grafometrica ed i (nuovi) falsari
la firma grafometrica ed i (nuovi) falsarila firma grafometrica ed i (nuovi) falsari
la firma grafometrica ed i (nuovi) falsariSandro Fontana
Ā 

Viewers also liked (16)

Rescate a lo gallego
Rescate a lo gallegoRescate a lo gallego
Rescate a lo gallego
Ā 
Mercedes W124
Mercedes W124Mercedes W124
Mercedes W124
Ā 
Email Deliverability: 10 Myths and a Reality Check
Email Deliverability: 10 Myths and a Reality CheckEmail Deliverability: 10 Myths and a Reality Check
Email Deliverability: 10 Myths and a Reality Check
Ā 
Trusted Experience
Trusted ExperienceTrusted Experience
Trusted Experience
Ā 
Iged s fontana-quando-la-firma-digitale-incontra-la-carta
Iged s fontana-quando-la-firma-digitale-incontra-la-cartaIged s fontana-quando-la-firma-digitale-incontra-la-carta
Iged s fontana-quando-la-firma-digitale-incontra-la-carta
Ā 
Periodic Table E Config
Periodic Table E ConfigPeriodic Table E Config
Periodic Table E Config
Ā 
Vectors
VectorsVectors
Vectors
Ā 
Beatifullibrariesintheworld2 1224805198195556 8
Beatifullibrariesintheworld2 1224805198195556 8Beatifullibrariesintheworld2 1224805198195556 8
Beatifullibrariesintheworld2 1224805198195556 8
Ā 
How to Create Killer Emails that Make Readers Love You
How to Create Killer Emails that Make Readers Love YouHow to Create Killer Emails that Make Readers Love You
How to Create Killer Emails that Make Readers Love You
Ā 
Socialanatverk - oktober 09
Socialanatverk - oktober 09Socialanatverk - oktober 09
Socialanatverk - oktober 09
Ā 
The importance of brand guidelines
The importance of brand guidelinesThe importance of brand guidelines
The importance of brand guidelines
Ā 
Country report
Country reportCountry report
Country report
Ā 
Paper E Sign La Firma Digitale Su Carta Seminario Epa
Paper E Sign  La Firma Digitale Su Carta   Seminario EpaPaper E Sign  La Firma Digitale Su Carta   Seminario Epa
Paper E Sign La Firma Digitale Su Carta Seminario Epa
Ā 
Packaging In An Online World
Packaging In An Online WorldPackaging In An Online World
Packaging In An Online World
Ā 
What the Shrink Can Teach the Community Manager
What the Shrink Can Teach the Community ManagerWhat the Shrink Can Teach the Community Manager
What the Shrink Can Teach the Community Manager
Ā 
la firma grafometrica ed i (nuovi) falsari
la firma grafometrica ed i (nuovi) falsarila firma grafometrica ed i (nuovi) falsari
la firma grafometrica ed i (nuovi) falsari
Ā 

Recently uploaded

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
Ā 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
Ā 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
Ā 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
Ā 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
Ā 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
Ā 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
Ā 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
Ā 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
Ā 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Ā 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
Ā 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
Ā 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
Ā 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
Ā 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
Ā 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
Ā 

Recently uploaded (20)

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Ā 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
Ā 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
Ā 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
Ā 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
Ā 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
Ā 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Ā 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Ā 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
Ā 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
Ā 
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Ā 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
Ā 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
Ā 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Ā 
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Ā 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Ā 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Ā 

Presentation

  • 1. Database Query Visualization An Empirical Study Zuzel Vera Pacheco ā€“ M.Sc. program Supervisor: Prof. Gregory V. Wilson Software Engineering Group University of Toronto Scientiļ¬c Writing Course, 2010 Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 1 / 11
  • 2. Natural Language Get the number of wins and the names of all the teams who scored a goal at the 2010 World Cup. Arrange the results in descending order based on the number of wins. Structured Query Language (SQL) SELECT team, wins FROM world_cups WHERE year = 2010 AND goals > 0 ORDER BY wins DESC; Query By Example (QBE) year team minutes_played goals wins 2010 P. >0 P.DO What is the best type of representation for a particular task? Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 2 / 11
  • 3. Design of a Diagrammatic Notation Programmers use of ad hoc notations instead of standard notations (Cherubini et al., 2007) This project: designed and executed an empirical study to determine the common features of ad hoc notations Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 3 / 11
  • 4. Table-based Notations Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 4 / 11
  • 5. Order-based Notations Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 5 / 11
  • 6. Artiļ¬cial Data Examples Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 6 / 11
  • 7. Natural Language Descriptions Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 7 / 11
  • 8. Notational Characteristics Participants Percentages (between subjects) Yes No Yes No Table-based notation 19 11 63% 37% Order-oriented notation 10 20 33% 67% Natural language descriptions 5 25 17% 83% Artiļ¬cial data examples 8 22 27% 73% Preliminary Results Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 8 / 11
  • 9. Work in Progress Code the data and analyze the order in which the diagrams were drawn Differentiate common vs. casual characteristics of the notations Future Work Propose alternative notations for the representation of database queries Design studies comparing the proposed notations and SQL Develop and evaluate a query visualization tool Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 9 / 11
  • 10. Summary We want to know what notation should be used to represent database queries. After conducting a study involving 30 participants, we are working on the analysis of the data Future work includes the development and evaluation of a query visualization tool. Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 10 / 11
  • 11. Thanks! Contact Information zuzelvp@cs.toronto.edu http://zuzelvp47uoft.wordpress.com Bahen Centre, room 3228 Zuzel Vera (University of Toronto) Database Query Visualization Scientiļ¬c Writing Courseā€™10 11 / 11