Relaxing Queries Presented by Ashwin Joshi Kapil Patil Sapan Shah.

Slides:



Advertisements
Similar presentations
Answering Approximate Queries over Autonomous Web Databases Xiangfu Meng, Z. M. Ma, and Li Yan College of Information Science and Engineering, Northeastern.
Advertisements

Heuristic Search techniques
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
Basic I/O Relationship Knowledge-based: "Tell me what fits based on my needs"
CS4432: Database Systems II
CS CS4432: Database Systems II Logical Plan Rewriting.
©Silberschatz, Korth and Sudarshan5.1Database System Concepts Chapter 5: Other Relational Languages Query-by-Example (QBE) Datalog.
Lecture # 2 : Process Models
Introduction to Histograms Presented By: Laukik Chitnis
Exact or stable image\signal reconstruction from incomplete information Project guide: Dr. Pradeep Sen UNM (Abq) Submitted by: Nitesh Agarwal IIT Roorkee.
Efficient Query Evaluation on Probabilistic Databases
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
An Approach to Evaluate Data Trustworthiness Based on Data Provenance Department of Computer Science Purdue University.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Evaluating Hypotheses
Basic LP Problem McCarl and Spreen Chapter 2 LP problem is linear form of Mathematical Program This formulation may also be expressed in matrix notation.
ITCS 6010 Natural Language Understanding. Natural Language Processing What is it? Studies the problems inherent in the processing and manipulation of.
1 MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING By Kaan Tariman M.S. in Computer Science CSCI 8810 Course Project.
Solving Failing Queries *) Zbigniew W. Ras University of North Carolina Charlotte, N.C , USA
Database Systems More SQL Database Design -- More SQL1.
Database Systems: A Practical Approach to Design, Implementation and Management International Computer Science S. Carolyn Begg, Thomas Connolly Lecture.
Methodology Conceptual Database Design
Overview of Distributed Data Mining Xiaoling Wang March 11, 2003.
Data Mining Techniques
Cooperative Query Answering Based on a talk by Erick Martinez.
Relational Model & Relational Algebra. 2 Relational Model u Terminology of relational model. u How tables are used to represent data. u Connection between.
CSC271 Database Systems Lecture # 30.
CSE314 Database Systems More SQL: Complex Queries, Triggers, Views, and Schema Modification Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
Mehdi Kargar Aijun An York University, Toronto, Canada Keyword Search in Graphs: Finding r-cliques.
1 A Bayesian Method for Guessing the Extreme Values in a Data Set Mingxi Wu, Chris Jermaine University of Florida September 2007.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
1 Evaluating top-k Queries over Web-Accessible Databases Paper By: Amelie Marian, Nicolas Bruno, Luis Gravano Presented By Bhushan Chaudhari University.
DATA-DRIVEN UNDERSTANDING AND REFINEMENT OF SCHEMA MAPPINGS Data Integration and Service Computing ITCS 6010.
Join Synopses for Approximate Query Answering Swarup Achrya Philip B. Gibbons Viswanath Poosala Sridhar Ramaswamy Presented by Bhushan Pachpande.
Disclosure risk when responding to queries with deterministic guarantees Krish Muralidhar University of Kentucky Rathindra Sarathy Oklahoma State University.
Line detection Assume there is a binary image, we use F(ά,X)=0 as the parametric equation of a curve with a vector of parameters ά=[α 1, …, α m ] and X=[x.
Unit III. Views A table that is derived from other tables Considered as a virtual table Does not store data.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
Query Processing over Incomplete Autonomous Databases Presented By Garrett Wolf, Hemal Khatri, Bhaumik Chokshi, Jianchun Fan, Yi Chen, Subbarao Kambhampati.
Joseph M. Hellerstein Peter J. Haas Helen J. Wang Presented by: Calvin R Noronha ( ) Deepak Anand ( ) By:
Views, Algebra Temporary Tables. Definition of a view A view is a virtual table which does not physically hold data but instead acts like a window into.
Compiled By: Raj Gaurang Tiwari Assistant Professor SRMGPC, Lucknow Unsupervised Learning.
Presented By: Miss N. Nembhard. Relation Algebra Relational Algebra is : the formal description of how a relational database operates the mathematics.
Robust Estimation With Sampling and Approximate Pre-Aggregation Author: Christopher Jermaine Presented by: Bill Eberle.
Chapter 5 : Integrity And Security  Domain Constraints  Referential Integrity  Security  Triggers  Authorization  Authorization in SQL  Views 
Knowledge based Question Answering System Anurag Gautam Harshit Maheshwari.
Ranking of Database Query Results Nitesh Maan, Arujn Saraswat, Nishant Kapoor.
Chapter 10 Views. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.10-2 Topics in this Chapter What are Views For? View Retrievals View Updates.
1 January 24, 2016Data Mining: Concepts and Techniques 1 Data Mining: Concepts and Techniques — Chapter 7 — Classification Ensemble Learning.
03/02/20061 Evaluating Top-k Queries Over Web-Accessible Databases Amelie Marian Nicolas Bruno Luis Gravano Presented By: Archana and Muhammed.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Discriminative n-gram language modeling Brian Roark, Murat Saraclar, Michael Collins Presented by Patty Liu.
Cluster Analysis What is Cluster Analysis? Types of Data in Cluster Analysis A Categorization of Major Clustering Methods Partitioning Methods.
LECTURE THREE RELATIONAL ALGEBRA 11. Objectives  Meaning of the term relational completeness.  How to form queries in relational algebra. 22Relational.
More SQL: Complex Queries, Triggers, Views, and Schema Modification
More SQL: Complex Queries,
Chapter 8: Concurrency Control on Relational Databases
Daniel Pilon Senior project officer at NRCan
Associative Query Answering via Query Feature Similarity
Chapter 15 QUERY EXECUTION.
Query Execution Presented by Khadke, Suvarna CS 257
Machine Learning Feature Creation and Selection
Spatio-temporal Pattern Queries
Machine Learning for Online Query Relaxation
More SQL: Complex Queries, Triggers, Views, and Schema Modification
COSC 4335: Other Classification Techniques
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Query Execution Presented by Jiten Oswal CS 257 Chapter 15
MACHINE LEARNING TECHNIQUES IN IMAGE PROCESSING
Probabilistic Ranking of Database Query Results
Presentation transcript:

Relaxing Queries Presented by Ashwin Joshi Kapil Patil Sapan Shah

2 Motivation Complex queries in terms of predicates against large databases. Right parameter values not known. Parameter adjustment becomes a trial-and- error method. More the predicates, difficult the adjustment

3 Example

4 How many conditions to adjust?? How much to adjust?? No. of choices exponential in number of conditions

In an information retrieval system, a direct, literal response is not always the best answer to a query. This is particularly the case when the set of results produced by the query is empty. A co-operative response is an indirect response that is more helpful to the user than the direct response would be. Co-operative responses emerged in the context of natural-language question-answering. 5

Expected solution For a failing query, this tool will provide a relaxed query. This relaxed query will have a small difference from the original query, but will return a few tuples when fired upon the target database. While relaxing the original query, various queries resulting from the relaxation will be taken into consideration. The query which has a non-empty result will be chosen as the final result. 6

7 Steps required Three steps  Exacting domain knowledge  Finding the most useful rule  Relaxing the failing query

Step 1: Extracting domain knowledge In this step system uses the small, randomly-chosen subset of the target database to discover knowledge that can be used for query relaxation. The original query will be fired upon the target subset and for a relaxed constraint, results will be achieved. Thus we will get a set of tuples that satisfy this relaxed query. From this subset, we can derive the knowledge as the intersection of all these attribute domains. Hence, we will have a heading towards the relaxed query. This knowledge is also dependant on the weighted impact of various attribute on the query. 8

Step 2: Finding the most useful rule In this step we select the most useful rule among all the possible rules. After deriving various rules that can lead to a relaxed query, a single rule needs to be defined for the final relaxation of the original query. The nearest rule will be the rule that has the minimum distance from the original query. Again for this portion, the weighted impact of various attributes will play an important role. The distance will be the aggregated sum of the distances of individual attributes. 9

Step 3: Relaxing the failing query Here we implement an algorithm that will relax the failing query. The algorithm will take the nearest rule from the step2 of the development and will derive relaxed query from the nearest rule. The original query will be transformed into the relaxed query through this process and the relaxed query will return some results when fired upon the target database. 10

Thank you 11