Vous êtes sur la page 1sur 3

Dynamic Query Forms for Database Queries

B.KUSHAL KUMAR

Department of Computer Science and n!ineerin! St."eter#s n!ineerin! Co$$e!e%Maisamma!uda%Medc&a$'m(%R.R.Dist

mai$) coo$!uy*+us&i,-./ya&oo.com

Abstract:
Modern scientific databases and 0eb databases maintain $ar!e and &etero!eneous data. 1&ese rea$20or$d databases contain o3er &undreds or e3en t&ousands of re$ations and attributes. 1raditiona$ predefined 4uery forms are not ab$e to satisfy 3arious ad2&oc 4ueries from users on t&ose databases. 1&is paper proposes DQF% a no3e$ database 4uery form interface% 0&ic& is ab$e to dynamica$$y !enerate 4uery forms. 1&e essence of DQF is to capture a user#s preference and ran+ 4uery form components% assistin! &im5&er to ma+e decisions. 1&e !eneration of a 4uery form is an iterati3e process and is !uided by t&e user. At eac& iteration% t&e system automatica$$y !enerates ran+in! $ists of form components and t&e user t&en adds t&e desired form components into t&e 4uery form. 1&e ran+in! of form components is based on t&e captured user preference. A user can a$so fi$$ t&e 4uery form and submit 4ueries to 3ie0 t&e 4uery resu$t at eac& iteration. 6n t&is 0ay% a 4uery form cou$d be dynamica$$y refined ti$$ t&e user satisfies 0it& t&e 4uery resu$ts. 7e uti$i8e t&e e9pected F2measure for measurin! t&e !oodness of a 4uery form. A probabi$istic mode$ is de3e$oped for estimatin! t&e !oodness of a 4uery form in DQF. :ur e9perimenta$ e3a$uation and user study demonstrate t&e effecti3eness and efficiency of t&e system.

Existing System: Recent$y proposed automatic approac&es to !enerate t&e database 4uery forms 0it&out user participation presented a data2dri3en met&od. 6t first finds a set of data attributes% 0&ic& are most $i+e$y 4ueried based on t&e database sc&ema and data instances. 1&en%

t&e 4uery forms are !enerated based on t&e se$ected attributes. :ne prob$em of t&e aforementioned approac&es is t&at% if t&e database sc&ema is $ar!e and comp$e9% user 4ueries cou$d be 4uite di3erse. 6n t&at case% e3en if 0e !enerate $ots of 4uery forms in ad3ance% t&ere are sti$$ user 4ueries t&at cannot be satisfied by any one of 4uery

forms. Anot&er prob$em is t&at% 0&en 0e !enerate a $ar!e number of 4uery forms% &o0 to $et users find an appropriate and desired 4uery form 0ou$d be c&a$$en!in!. A so$ution t&at combines +ey0ord searc& 0it& 4uery form !eneration is proposed. 6t automatica$$y !enerates a $ot of 4uery forms in ad3ance. 1&e user inputs se3era$ +ey0ords to find re$e3ant 4uery forms from

a $ar!e number of pre2!enerated 4uery forms. 6t 0or+s 0e$$ in t&e databases 0&ic& &a3e ric& te9tua$ information in data tup$es and sc&emas. Ho0e3er% it is not appropriate 0&en t&e user does not &a3e concrete +ey0ords to describe t&e 4ueries at t&e be!innin!% attributes. especia$$y for t&e numeric

Proposed System: 0e propose a Dynamic Query Form system)DQF% a 4uery interface 0&ic& is capab$e of dynamica$$y !eneratin! 4uery forms for users. Different from traditiona$ document retrie3a$% users in database retrie3a$ are often 0i$$in! to perform many rounds of actions 'i.e.% refinin! 4uery conditions( before identifyin! t&e fina$ candidates. 1&e essence of DQF is to capture user interests durin! user

interactions and to adapt t&e 4uery form iterati3e$y. ac& iteration consists of t0o types of user interactions) Query Form nric&ment and Query 9ecution. 1&e fo$$o0in! fi!ure s&o0s t&e 0or+2f$o0 of DQF . 6t starts 0it& a basic 4uery form 0&ic& contains 3ery fe0 primary attributes of t&e database. 1&e basic 4uery form is t&en enric&ed iterati3e$y 3ia t&e interactions bet0een t&e user and our system unti$ t&e user is satisfied 0it& t&e 4uery resu$ts.

Modules: 1&e system is proposed to &a3e t&e fo$$o0in! modu$es a$on! 0it& functiona$ re4uirements. ,. Query Form nric&ment ;. Query 9ecution .. Customi8ed Query Form -. Database Query Recommendation

1. Query Form Enrichment ,(DQF recommends a ran+ed $ist of 4uery form components to t&e user. ;( 1&e user se$ects t&e desired form components into t&e current 4uery form. 2. Query execution ,( 1&e user fi$$s out t&e current 4uery form and submit a 4uery. ;( DQF e9ecutes t&e 4uery and s&o0s t&e resu$ts. .( 1&e user pro3ides t&e feedbac+ about t&e 4uery resu$ts. . !ustomi"ed Query Form 1&ey pro3ide 3isua$ interfaces for de3e$opers to create or customi8e 4uery

forms. 1&e prob$em of t&ose too$s is t&at% t&ey are pro3ided for t&e professiona$ de3e$opers 0&o are fami$iar 0it& t&eir databases% not for end2users. 6f proposed a system 0&ic& a$$o0s end2users to customi8e t&e e9istin! 4uery form at run time. Ho0e3er% an end2user may not be fami$iar 0it& t&e database. 6f t&e database sc&ema is 3ery $ar!e% it is difficu$t for t&em to find appropriate database entities and attributes and to create desired 4uery forms. #.$atabase Query %ecommendation Recent studies introduce co$$aborati3e

approac&es to recommend database 4uery components for database e9p$oration. 1&ey treat SQL 4ueries as items in t&e and co$$aborati3e fi$terin! approac&%

recommend simi$ar 4ueries to re$ated users.

!&'!()S*&' A'$ F)+)%E ,&%6n t&is paper 0e propose a dynamic 4uery form !eneration approac& 0&ic& &e$ps users dynamica$$y !enerate 4uery forms. 1&e +ey idea is to use a probabi$istic mode$ to ran+ form components based on user preferences. 7e capture user preference usin! bot& &istorica$ 4ueries and run2time feedbac+ suc& as c$ic+t&rou!&. 9perimenta$ resu$ts s&o0 t&at t&e dynamic approac& often $eads to &i!&er success rate and simp$er 4uery forms compared 0it& a static approac&. 1&e

ran+in! of form components a$so ma+es it easier for users to customi8e 4uery forms. As future 0or+% 0e 0i$$ study &o0 our approac& can be e9tended to non re$ationa$ data.

Vous aimerez peut-être aussi