You are on page 1of 31

Under the Esteemed Guidance Of Asha Latha BY K.Lavanya M.Sruthi V.Anusha G.

Radha Krishna

To propose an ranking model, to rank the query results with user- and query- dependency.

user dependency: Ranking is based on the decisions of the opinions of users. query dependency: user can also check the details of a commodity based on his personal interest.

` ` ` ` ` ` ` `

Introduction Existing system Proposed System Architecture Diagrams Algorithm Requirements Modules

Due to the immense of data in the web, retrieving of records from different web databases in a particular domain(vehicles , airlines..)has become a routine task. One of the major problems in this context is ranking the results of a user query. When a user poses a query, he has been getting lacks of tuples as results in response (based on query condition). So we ne need to provide a ranking function so that the accurate required information is provided to the user. Thus it is very important to consider both user as well as the query condition, simultaneously, while ranking the query results.

Earlier systems had not provided ranking for the query results in a particular domains. Thus they are not helping the users to find the items of interest from among a large pool of potentially interesting items. Some ranking functions are developed but they are either user dependant or query dependant but not both.

In order to find the results that match ones interest, the user has to browse through this large result set a tedious and time-consuming task. The problem being faced here is, 1. since each users requirements vary , all the users may not be satisfied with the same type data results for a particular query. 2. Most of the Web users would prefer displaying query results sorted on multiple attribute values, which would be closer to their expectation.

We propose an automated solution for ranking Web database query results in a user- and query-dependent environment. Our framework provides an automated query- as well as user-dependent ranking solution without requiring users to possess knowledge about query languages, data models and ranking mechanisms. User can just post his opinion like feed back on a particular data, and basing on that opinion, the ranking function is generated We develop a ranking model, based on two complementary measures of query similarity and user similarity, to derive functions from a workload containing ranking functions for several user-query pairs.

Results for the query are ranked basing on both the user type and his exact requirement(query), closer to his expectation. Best ranking is made for the data as per the query with conditions of multiple attribute values Relevant data is retrieved within no time Most of the time in searching for the required data can be reduced The proposed system technique can be incorporated in the real world applications.

` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `

INPUT: Ui , Qj , Workload W (M queries, N users) OUTPUT: Ranking Function Fxy to be used for Ui , Qj STEP ONE: for p = 1 to M do %% Using Equation 2 %% [similarity(q,q)=TT(i=1to m) sim(q[Ai=ai],q[Ai=ai]) Calculate Query Condition Similarity (Qj , Qp ) end for %% Based on descending order of similarity with Qj %% Sort(Q1 , Q2 , .... QM ) Select QKset i.e., top-K queries from the above sorted set STEP TWO: for r = 1 to N do %% Using Equation 7 %% similarity(ui,uj)=Er [sim(Fip,Fjp)]/r Calculate User Similarity (Ui , Ur ) over QKset end for %% Based on descending order of similarity with Ui %% Sort(U1 , U2 , .... UN ) to yield Uset STEP THREE: for Each Qs QKset do for Each Ut Uset do Rank(Ut ,Qs ) = Rank(Ut Uset ) + Rank(Qs QKset ) end for end for Fxy = Get-RankingFunction

Admin
User & Query Dependent Ranking

Database

user

Change pwd

atable

View users

user

admin

Login

Product details

product

Analize ranking

Performance details Enhancement details

Performance

feedback

enhancement

Update Profile

Customer

Change pwd

product Search& Retrive performance enhancement send feedback

user

Login

feedback table

<<include>> insert product login <<include>> maintain product details modify/del details

<<include>> add performance details maintain performance details <<include>> admin modify/del performance details <<include>> enhancement details

add enchancement details <<include>>

analyze ranking edit/del enchancement details logout

login user similarity customer search query similarity

send feedback

logout

login id password

Admin String : id string : pwd add product details() add performance details() add enhancement details() vew feedbacks() analize ranking()

User string : id String : pwd view the products() send feedback()

Products details int : Pid String : Pname double : cost string : color add products() edit/del products() performance details int : pid String : Pname add performance details() edit/del performance details()

view products view product details() enhancement details() performance details()

enhancement details int : pid string : Pname add enhancement details() edit/del enhancement details()

view feedbacks int : pid string ; pname view feedback() perform ranking()

send feedback int : pid String : pname post feedback()

analyze ranking query similarity() user similarity() ranking()

` ` ` `

Admin login Query-similarity User-similarity Ranking process

In this module admin maintained various products of bike details with several databases.
` ` `

The databases have bike cost, color, details performance of bike details like gear, engine, etc., enhancement details like alloys, electric start, etc.,

When customer logs in, he searches for the bike details with specific price.
` ` `

Then bike details are to be appeared to the customer to his desire/wish. Details are displayed from different types of databases, using join query. Then, he gives feedback to that product.

If the user expected more details for various products, he can through search via user-similarity.
`

It shows more details. Then he takes decision and once again search he wish. Then give another feedback to that product.

If Customer, gives the feedback to all products. Then, admin counts about the passion by customer. Then, he ranks the overall products.

Hardware Required:
System Hard Disk Floppy Drive Monitor Mouse Keyboard RAM : Pentium IV 2.4 GHz : 40 GB : 1.44 MB : 15 VGA color : Logitech. : 110 keys enhanced : 256 MB

Software Required:
O/S Language Data Base : Windows XP. : Asp.Net, c#. : Sql Server 2005.

` ` ` ` `

[1] S. Agrawal, S. Chaudhuri, G. Das, and A. Gionis. Automated ranking of database query results. In CIDR, 2003. [2] S. Amer-Yahia, A. Galland, J. Stoyanovich, and C. Yu. From del.icio.us to x.qui.site: recommendations in social tagging sites. In SIGMOD Conference, pages 13231326, 2008.