VI Q ING V isual I nteractive Q ueryING Chris Olston UC Berkeley 14th IEEE Symposium on Visual Languages Halifax, Nova Scotia, Canada September 1st - 4th,

Slides:



Advertisements
Similar presentations
AS ICT Building a complex multi-table form. Introduction In addition to the single table form and sub-form design wizard available in earlier versions,
Advertisements

Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
Lukas Blunschi Claudio Jossen Donald Kossmann Magdalini Mori Kurt Stockinger.
Foundations of Relational Implementation n Defining Relational Data n Relational Data Manipulation n Relational Algebra.
Technical BI Project Lifecycle
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Concepts of Database Management Seventh Edition
Visualization Schemas for Flexible Information Visualization Chris North, Nathan Conklin, Varun Saini Proceedings of IEEE Symposium on InforVis’02 Presented.
Polaris: A System for Query, Analysis and Visualization of Multi-dimensional Relational Databases Presented by Darren Gates for ICS 280.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
NaLIX: A Generic Natural Language Search Environment for XML Data Presented by: Erik Mathisen 02/12/2008.
ETEC 100 Information Technology
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
3-1 Chapter 3 Data and Knowledge Management
Table Lens From papers 1 and 2 By Tichomir Tenev, Ramana Rao, and Stuart K. Card.
SiS Technical Training Development Track Technical Training(s) Day 1 – Day 2.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Concepts of Database Management Sixth Edition
Visualization Schemas for Flexible Information Visualization Chris North, Nathan Conklin, Varun Saini Virginia Tech. Proceedings of IEEE Symposium on InfoVis’02.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
State of Connecticut Core-CT Project Query 4 hrs Updated 1/21/2011.
Synthesis of Incomplete and Qualified Data using the GCE Data Toolbox Wade Sheldon Georgia Coastal Ecosystems LTER University of Georgia.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Class 6 Data and Business MIS 2000 Updated: September 2012.
Module 3: Table Selection
Concepts of Database Management, Fifth Edition
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
ASP.NET Programming with C# and SQL Server First Edition
©Silberschatz, Korth and Sudarshan5.1Database System Concepts Chapter 5: Other Relational Languages Query-by-Example (QBE) Datalog.
Self Guided Tour for Query V8.4 Basic Features. 2 This Self Guided Tour is meant as a review only for Query V8.4 Basic Features and not as a substitute.
2. Database System Concepts and Architecture
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
Exploring Microsoft Access Chapter 4 Relational Databases, External Data, Charts, and the Switchboard.
10/31/2012ISC239 Isabelle Bichindaritz1 SQL Graphical Queries Design Query By Example.
Analyzing Data For Effective Decision Making Chapter 3.
Understanding Relational Database Query Languages WinRDBI Windows-based Relational DataBase Interpreter An educational tool that.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
Concepts of Database Management Seventh Edition
Using Special Operators (LIKE and IN)
Concepts of Database Management Seventh Edition
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
CIS 250 Advanced Computer Applications Introduction to Access.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
Implementing the Theory dBase Operations in MS Access.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 3 Analyzing Tables and Creating.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
Source: Database System Concepts, Silberschatz etc Edited: Wei-Pang Yang, IM.NDHU, Introduction to Database CHAPTER 5 Other Relational Languages.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
DataSet Your Database student test score Database Connection Your program needs to establish a connection to the database. Click on “Add New Data Source.”
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
Introduction to OLAP and Data Warehouse Assoc. Professor Bela Stantic September 2014 Database Systems.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Understanding Core Database Concepts Lesson 1. Objectives.
Prepared by : Moshira M. Ali CS490 Coordinator Arab Open University
Contents Preface I Introduction Lesson Objectives I-2
Understanding Core Database Concepts
Presentation transcript:

VI Q ING V isual I nteractive Q ueryING Chris Olston UC Berkeley 14th IEEE Symposium on Visual Languages Halifax, Nova Scotia, Canada September 1st - 4th, 1998 Authors Chris Olston, Michael Stonebraker, Alexander Aiken, Joseph M. Hellerstein

VI Q ING Chris Olston, UC Berkeley Outline Introduction –Related Work –Background Visual query results Specifying visual queries How VIQING generalizes other work Status and future work

VI Q ING Chris Olston, UC Berkeley Introduction Databases are hard to use –Difficult to understand data in textual form –SQL query language hard to learn Visual Programming Can Help! –Database visualization systems (like DataSplash) display data in graphical form –VIQING provides a simple interface for expressing queries over visualizations ?

VI Q ING Chris Olston, UC Berkeley Other interfaces offer visual programming –Visualization QBE, Cupid, Tioga-1, AVS, Khoros, MS-Access, DEVise –Querying 4GLs, Tioga-1, AVS, Khoros, Access, DEVise, Magic Lenses But only VIQING/DataSplash offers a unified visual programming model for visualization and visual querying ? Related Work ?

VI Q ING Chris Olston, UC Berkeley Background DataSplash is a data visualization tool that displays database data in graphical form –Each row in a database table gets translated into one graphical object on a canvas Database One row Table Canvas DataSplash

VI Q ING Chris Olston, UC Berkeley Example DataSplash Visualization This visualization shows which political party each state has favored since 1952 A DataSplash canvas can be infinitely panned and zoomed Red: Democrat Blue: Republican Each state is one database row

VI Q ING Chris Olston, UC Berkeley Portals: Nested Visualizations Portals are sub-windows in one canvas that show another canvas Portals can be independently panned and zoomed Bush ‘88Clinton ‘92 Bush ‘92Dukakis ‘88 A Portal This portal contains a canvas of presidential candidates ordered by year (X axis), with the winner on top (Y axis)

VI Q ING Chris Olston, UC Berkeley Outline Introduction –Related Work –Background Visual query results Specifying visual queries How VIQING generalizes other work Status and future work

VI Q ING Chris Olston, UC Berkeley Visual Selection A visual selection displays only rows that pass a selection filter –Which states voted Democratic in 1992? Note that all red (traditionally Democratic) states voted Democratic in 1992 ?

VI Q ING Chris Olston, UC Berkeley Visual Join A visual join ( ) combines information from two or more database tables via portals Presidential Candidates States Each presidential candidate has a portal containing the states that voted for him One join portal for every row in the candidates table ?

VI Q ING Chris Olston, UC Berkeley Outline Introduction –Related Work –Background Visual query results Specifying visual queries How VIQING generalizes other work Status and future work

VI Q ING Chris Olston, UC Berkeley User Interface: Performing a Visual Selection Select graphical rows by rubber-banding The result: –The canvas inside the portal has only 6 rows –Selection portals can be used for visual joins... ? A portal that contains only the selected rows

VI Q ING Chris Olston, UC Berkeley Performing a Visual Join ? Drag and Drop VI Q ING Chris Olston, UC Berkeley Join 1960’s presidential candidates with political parties

VI Q ING Chris Olston, UC Berkeley The Result: A Three-Level Visual Join Now candidates are joined with political parties –We know which candidates belong to which parties –Can see trends for each party over time ? Parties Candidates States

VI Q ING Chris Olston, UC Berkeley Visual Reordering Visual queries have an ordering Visual reordering can be performed after the join –To reorder: drop a portal onto a row of its child canvas ? Parties Candidates States

VI Q ING Chris Olston, UC Berkeley Result of Visual Reordering Now, parties join with states, which join with candidates –We can see the voting history of each state, by traditional party ? Parties States Candidates Georgia voted with the other Democrat states in ‘60, but against them in ‘64

VI Q ING Chris Olston, UC Berkeley Benefits of VIQING Queries Easier to use than SQL –Can incrementally build and refine queries –Query manipulations on custom graphical representation of data, which is easier to understand than text –Don’t need to know SQL syntax -- just drag and drop (direct-manipulation)

VI Q ING Chris Olston, UC Berkeley Join Predicates We have not discussed how VIQING knows what join predicates to use In most cases, join predicates are equality –eg, candidate.party_name = party.party_name –These can be inferred from foreign key relationships defined at schema creation time Alternatively, could specify more general join predicates with a tool like MS Access

VI Q ING Chris Olston, UC Berkeley Removing Intermediate Tables Often, 2 tables join via an intermediate table –eg, Candidates Vote records States However, we don’t want to see the intermediate table –we want Candidates States To do this, visually remove intermediate –Drag intermediate portal away from the canvas 92-TX-R

VI Q ING Chris Olston, UC Berkeley Outline Introduction –Related Work –Background Visual query results Specifying visual queries How VIQING generalizes other work Status and future work

VI Q ING Chris Olston, UC Berkeley How VIQING Generalizes Other Work VIQING generalizes nested report writers –Each level of nesting is a set of join portals –Drill-down performed by entering a join portal VIQING generalizes master/detail forms –Master-detail relationship is a join –Data entry support could be added to DataSplash

VI Q ING Chris Olston, UC Berkeley Generalizing “Small Multiple” Graphs VIQING can create “small multiple” graphs –Several views of a graph, indexed by a variable –This is a visual join between a canvas which contains several values for the index variable and the graph canvas Z = 5Z = 10

VI Q ING Chris Olston, UC Berkeley Status and Future Work Implemented as an extension to DataSplash Future work: –Support for more SQL query expressibility aggregates, subqueries, etc. –An automatic way to expose meta-data Which portals correspond to which tables? –Improved support for large data sets This is a DataSplash issue, orthogonal to VIQING

VI Q ING Chris Olston, UC Berkeley Summary VIQING combines querying with visualization by using portals –Construct basic SQL queries by direct manipulation of pictorial data Visual select, join, reorder, remove intermediate –Create nested reports, master/detail forms –Generate “small multiple” graphs ?

VI Q ING Chris Olston, UC Berkeley For more info... Paper in Proc. Visual Languages 1998 –Or my web page: me: