×

Automatically ranking answers to database queries

  • US 7,251,648 B2
  • Filed: 06/28/2002
  • Issued: 07/31/2007
  • Est. Priority Date: 06/28/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for automatically ranking data records by relevance to a query on a database the method comprising:

  • deriving a similarity function of the form SIM

    ( t , Q )
    =

    k = 1 m


    w k

    min v

    T k


    { S k

    ( t k , v )
    }
    from at least one of data records in a database and a workload of queries, wherein t represents a tuple, Q represents a query, w represents an attribute weight, Tk represents a set of constraints on values for categorical attributes or a range for numeric attributes, S represents a similarity coefficient, and v represents a value of an attribute, wherein the similarity function corresponds to an inverse frequency of categorical attribute values in records of the database and an inverse frequency of numeric attribute values that is determined by considering a frequency of numeric attribute values specified in the given query and nearby numeric attribute values in the database;

    applying the similarity function to a given query and records in the database to determine a query frequency between the given query and the records in the database;

    ranking the records in the database based on the similarity between the given query and the records, wherein the similarity function ranks a first record having a same similarity score as a second record higher than the second record when values in the first record for attributes that are not specified in the given query occur more frequently in the database than corresponding attribute values in the second record; and

    returning the records in a ranked order.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×