WO2001041002A1 - Method and system for universal querying of distributed databases - Google Patents

Method and system for universal querying of distributed databases Download PDF

Info

Publication number
WO2001041002A1
WO2001041002A1 PCT/US2000/032815 US0032815W WO0141002A1 WO 2001041002 A1 WO2001041002 A1 WO 2001041002A1 US 0032815 W US0032815 W US 0032815W WO 0141002 A1 WO0141002 A1 WO 0141002A1
Authority
WO
WIPO (PCT)
Prior art keywords
query
user
term
terms
data
Prior art date
Application number
PCT/US2000/032815
Other languages
French (fr)
Inventor
Virginia Ann Di Domizio
Walter Vincent Dixon, Iii
Scott D. Epter
Louis John Hoebel
Osman Rifki Oksoy
Jonathan Peter Stillman
Jennifer M. Corman
Original Assignee
Lockheed Martin Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lockheed Martin Corporation filed Critical Lockheed Martin Corporation
Priority to AU27254/01A priority Critical patent/AU2725401A/en
Publication of WO2001041002A1 publication Critical patent/WO2001041002A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2452Query translation
    • G06F16/24522Translation of natural language queries to structured queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/964Database arrangement
    • Y10S707/966Distributed
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99933Query processing, i.e. searching
    • Y10S707/99935Query augmenting and refining, e.g. inexact access

Definitions

  • the present invention generally relates to a system and method for searching target databases, and in particular, to a system and method for universal querying of distributed databases.
  • Databases are created with a particular task in mind.
  • the database may be tailored for ease of asking particular types of queries, for ease of storing new data, or for storing groups of attributes as an object.
  • Designing databases for specific purposes allows data to be stored and retrieved efficiently for that particu ⁇ artask and possibly a few related tasks. However, this makes it nearly impossible to retrieve information for other unrelated tasks.
  • the most fundamental querying problem is that groupings of objects that make sense in one database representation, make it difficult to regroup attributes to form objects meaningful to a query unrelated to the database' s specific purpose. For example, consider the database tables below which have been excerpted from a hypothetical company's relational database:
  • the "Employee” table has key Employee_ID and attributes Social_Sec_#,
  • the "Acquisition_Agent" table has key Occupation_Code and attributes Salary _Band_A, Salary_Band_B,and Band_A_Max_PO.
  • a division of this hypothetical company has a database that keeps track of its employees.
  • the database has a table, "Employee,” that contains basic information such as name, social security number, salary, and job title.
  • the key in this table is Employee_ID.
  • the database also has individual tables relating to each job title within the company. These tables note the occupation's salary ranges (e.g., Salary_Band_A) and the specific duties at each salary level (e.g., Band_A_Max_PO). For example, for an "Acquisition_Agent,” the salary bands are A, B, etc., and the maximum amount that an individual in salary band A may purchase is Band_A_Max_PO.
  • This table's key is Occupation_Code.
  • a reasonable query from another division of the company could be "Return the individuals who can purchase more than 5000 units of product X.”
  • the query will be difficult to execute. First, the individual asking the query would have to know that Acquisition_Agent and Buyer were synonymous. Next, a join on salary would need to be executed, but there is no common key. Finally, math would have to be performed to translate between the maximum purchase order allowed (Band_A_Max_PO) and the number of units of X a specific buyer could purchase. This seemingly simple query requires a great deal of database-specific knowledge.
  • the first potential obstacle concerns gaining access to the relevant data source. This involves being allowed to read the database schema and the data contained within the database. Additionally, it may require the ability to store intermediate tables. When a large, multi-step query with several joins or cross products is carried out, the intermediate tables generated need to be temporarily stored. If systems accessing the database are. remote, it is clearly impractical to transmit these larger data sets to the querying machine. Thus, some local write space may be desired.
  • a second potential obstacle concerns the fact that each database in the system may have been designed for efficiency for a system-specific task.
  • Databases are created to fit within larger systems. These systems have certain storage and retrieval requirements, as well as baseline assumptions about data format. No matter how general a database schema is developed, the schema must operate within the system and data requirements. This necessarily means there are queries the system will have difficulty answering.
  • a third potential problem is that poorly labeled tables and attributes can make it impossible to determine the real-world object being represented.
  • table names extracted from actual DoD data sources include: " $UD01, VNNZ, SYFA, and WUCl .
  • attribute names extracted from the same DoD source include: SC, TCN, FROM_PPCl, and PRIME.
  • the system and method of the present invention accomplishes one or more of the above-noted objects of the present invention by providing an architecture which allows users to enter unstructured queries, expands and generalizes such queries, and matches the queries to actual target database tables.
  • the method of the present invention generally includes the steps of processing a query (e.g., an unstructured query) to generalize and/or expand the query to return as many relevant words or terms as possible to the user, receiving from the user selected words or terms which the user expects to find in attributes of the distributed databases, and searching a database structure (e.g., an annotated database) having directories extracted from target distributed databases, the directories including table names, attribute names, sample data, and/or, if available, data dictionary information.
  • a database structure e.g., an annotated database
  • the step of searching the database structure includes utilizing a Lightweight Directory Access Protocol (LDAP), which allows quick access to information directories.
  • LDAP directories are designed for reading data rather than updating or adding new data to the directories, the retrieval speed of information contained within the directories (e.g., table names and table attributes) is very fast.
  • the step of processing a query includes the step of receiving at least a first query from a user or client, the first query including at least a first term and the steps of identifying key terms and generalizing and/or expanding the first query to enhance the likelihood of retrieval of relevant data to the user.
  • the step of processing at least the first query may include the step of identifying or extracting key words or terms from the firs cjuery, such as the first term, since such key words may correspond to an attribute or table name in the target distributed databases.
  • the step of extracting key words includes the step of extracting at least a first noun and/or a first noun phrase from the first query.
  • the step of extracting key words comprises the step of extracting at least a first verb from the first query.
  • the step of extracting key words comprises the step of extracting at least a first data item (e.g., part number) in the first query.
  • the step of processing at least the first query comprises the step of stemming at least a first term in the first query, such that at least a first root word corresponding to the first term may be utilized in the final search.
  • the processing step may also include the step of generating at least a first synonym of at least the first term of the first unstructured query to expand the scope of the search.
  • the step of processing at least the first query may be facilitated by presenting to the user an initial user query screen, whereby the user is afforded an opportunity to perform various options, including perform stemming, include synonyms, include acronyms, and/or perform wild card substitutions.
  • the processing step may include the step of presenting such terms to the user in an expanded or refined user query screen format.
  • relevant words e.g., nouns, noun phrases, verbs, numbers, and/or synonyms
  • Such relevant words may be presented to the user or client to afford the user the opportunity to select the returned relevant terms (e.g., gathered nouns, noun phrases, synonyms, acronyms, data items and/or related items) which the user believes useful in searching the target distributed databases.
  • the user is able to select or collect terms for which the database schemae will be searched.
  • the step of processing the first unstructured query from the user may further include the step of ranking selected relevant terms (e.g., synonyms or other related terms).
  • selected relevant terms e.g., synonyms or other related terms.
  • the methodology of the present invention is adapted to learn from the structure of the users' queries. In this regard, if query terms frequently occur together, when a user submits only one of these terms, information regarding both terms may be returned to the user to save the user time. Such learning capability may be included within the LDAP. Conversely, if certain synonyms are not frequently selected, such synonyms will not be returned to users in the future.
  • the method generally includes the step of searching a database structure, such as an LDAP directory which may include attributes, table names, sample data and/or data dictionary information in the target distributed databases, for attributes and/or table names that match the terms selected by the user (e.g., augmented query terms) and presenting such information to the user.
  • a database structure such as an LDAP directory
  • Such attributes and/or table names may be retrieved, along with the remaining attributes for tables that had matching attribute names.
  • a first tree may be constructed, whereby query term folders are populated with database folders containing the tables that match the augmented query terms and such tree is presented or returned to the user. Such folders are labeled with the query term or terms that correspond to the matching tables contained in them.
  • the methodology of the present invention may further include the step of processing a final query from the user.
  • the step of creating a final query comprises creating a pictorial query for the user, whereby the user is allowed to add constraints and/or joins to produce a final query.
  • the step of processing the final query further includes the step of automatically generating SQL code corresponding to the final query and utilizing a mediator to forward the query to appropriate databases, receive data from each of the appropriate databases, and returning such data to a servlet, where such data is formatted and presented to the user.
  • the present invention relates to a system for processing at least a first query to retrieve data relevant to the first query from at least a first of a plurality of distributed or target databases.
  • the system of the present invention includes a computer system for at least receiving a first query from a first user, an extractor for identifying key words, such as nouns, noun phrases, verbs or numbers in the first query, a database structure, such as an LDAP directory, including at least one of a plurality of table names and attributes relating to tables within the distributed databases, the directory being searchable to provide the user, via the computer system, with at least a first database table name and attributes associated with retrieved tables corresponding to the retrieved table names, and a code generator for generating SQL code based upon retrieved table names and/or attributes selected by the user.
  • the system may further include a c ⁇ uery generalizer for processing the firs+ ⁇ uery to provide or return to the user via the computer system terms related to at least a first term of the first query to enable the user to select terms the user expects to find in distributed database tables.
  • the system may further include a learning program, whereby information about which synonyms a particular type of user will need and which terms often appear together in these queries is stored and/or ranked. In this regard, after the user enters a query and chooses relevant synonyms, the rank of terms is updated. If terms are selected, the rank of such terms is increased and conversely, if terms are not selected, the rank of such terms is decreased.
  • the system is adapted to learn from the structure of the users' queries. In this regard, if terms frequently occur together, then when the user asks only about one of these terms, the system will return information about those terms to the user.
  • the system may further include a central mediator for receiving the query and SQL code, via any computer system, the central mediator in communication with the target distributed databases.
  • Such central mediator may be adapted to return the retrieved data from the appropriate distributed databases to the computer system, which is capable of formatting and presenting such data to the user via, for example, a display screen.
  • FIG. 1 is a diagrammatic illustration showing one embodiment of the system of the present invention
  • Fig. 2 is a diagrammatic illustration showing the architecture of the system illustrated in Fig. 1 ;
  • Fig. 3 illustrates a view of displayed textual and graphic information related to entering a query via the screen
  • Fig. 4 illustrates the structure of a sample LDAP directory
  • Fig. 5 illustrates a view of displayed textual and? graphic information related to expanding a user's query via the screen;
  • Fig. 6 illustrates a view of displayed textual and graphic information related to finalizing a user's query via the screen
  • Fig. 7 illustrates a sample SQL query
  • Figs. 8A-8B present a flow chart of one embodiment of the method of the present invention
  • Figs.9A- D present a flow chart of another embo iment of the method of the present invention.
  • the method and system of the present invention allows users or clients to enter an unstructured query that the system expands and generalizes and then matches to actual database tables.
  • Users may interact with the system in three different ways.
  • First, the users may enter an unstructured query, which may be a list of important terms as in a typical search query or, alternatively, the query may be a natural language question or sentence.
  • Second, users may select the nouns, noun phrases, synonyms, and/or related terms that the user expects to appear in the table names and/or attribute or field names of the target databases.
  • nouns and/or noun phrases in the query may be identified, and the query may be generalized and/or expanded to return to the user as many relevant words as possible.
  • the user may select the terms he or she expects to find in the database attributes and/or table names in the system. And third, the user may form Structured Query Language code ("SQL") by clicking on tables and attributes presented to the user.
  • SQL Structured Query Language code
  • the database matches that the system believes correspond to the query are presented to the user and given the tables, the user may form a pictorial query from which the SQL code is automatically generated. Thereafter, the data itself may be displayed to the user.
  • the method first involves an interface with the user to allow the user to specify an initial query.
  • the first step in the querying process begins with the user entering an initial query and ends with the systems returning nouns, noun phrases, verbs, data synonyms, and/or related terms.
  • the purpose of this phase of the querying process is to identify key words of the query and to expand and/or generalize the initial query so that later in the process, as many correct tables as possible may be returned to the user.
  • the system 10 of the present invention includes a computer system 16 (e.g., a servlet), which generally functions to receive and send data to the appropriate destination.
  • the computer system 16 is adapted to present the user with a query input screen 50, illustrated in Fig. 3, which is displayable to the user via a display screen 18, illustrated in Fig. 1.
  • a query input screen 50 allows the user to enter an unstructured query in the query field 52, illustrated in Fig. 3.
  • the ustr may select which particular generalization and/or expansion functions should be utilized in expanding the query, such as perform stemming, include synonyms, include acronyms, perform wild card substitution and enable user assisted learning (to be described in more detail hereinbelow).
  • the system 10 also includes a noun/noun phrase extractor 22, a stemmer 24 and a synonym generator 26.
  • the noun/noun phrase extractor 22 which is commercially available from various vendors, is adapted to identify important or key nouns and noun phrases in a user's query. In general, because of the way in which queries are phrased, the most important items in a user query are nouns, noun phrases, conditionals (e.g., greater than) and numbers. Thus the noun/noun phrase/verb/data extractor 22 searches for only nouns, noun phrases, verbs and data and returns to the user, via the computer system 16, a list of query Terms (i.e., identified or extracted nouns/noun phrases/verbs/data).
  • the stemmer 24 returns the base word for each query Term in the returned list. For example, the query Term "guns” would be turned into “gun” and “buyers” would be turned into “buy.”
  • the system 10 is also adapted to expand each term by finding synonyms.
  • the synonym generator 26, which is commercially available as Princeton's WordNet Lexicon, identifies synonyms for each query Term, and those synonyms whose rank is greater than the system threshold are collected and returned to the user. Initially, all terms are ranked at zero (0). As terms are returned and selected by the user, the rank of such selected terms increases. If returned terms are not selected by the user, the rank of such non-selected terms decreases.
  • the rank of such non-selected terms falls below the user-acceptability level, these terms are no longer returned to the user.
  • related terms may be retrieved from the LDAP 30, such related terms being words that frequently occur in queries with a query Term.
  • the LDAP directory's learning branches may contain the most frequently co-occurring terms for every query Term. More specifically, as users query the system 10, the choices they make are used to learn what types of information should be returned to them in future queries. Initially, the system 10 knows nothing. All users have a blank slate, and all query responses are equally "good" answers. After users enter queries and choose relevant synonyms, the rank of terms is updated.
  • the system 10 is adapted to learn from the structure of the users' queries. If terms frequently occur together (e.g., gun and ammunition), then when the user asks only about one of these terms, the system 10 will return information about both. This saves the user time from having to add terms and resubmit the query since the information may be already provided. These co-occurrence terms also suggest related information to the user and thus expand users' queries. All this information is kept for each type of user so that different meanings across different entities (e.g., Department of Defense components) may be remembered.
  • nouns, noun phrases, verbs, data, synonyms and/or related terms are retrieved, they are formatted (e.g., by the computer system or servlet 16) into a Java Swing class component that allows data to be displayed in a tree format (called a DefaultMutable Tree) and sent to the expanded user query screen, illustrated in Fig. 5, which is displayable to the user via display device 18.
  • a Java Swing class component that allows data to be displayed in a tree format (called a DefaultMutable Tree) and sent to the expanded user query screen, illustrated in Fig. 5, which is displayable to the user via display device 18.
  • Fig. 5 illustrates the expanded user query screen 60 which contains the nouns, noun phrases, synonyms and/or related terms which have been retrieved and displayed in a tree format in a left-hand area 62 of the screen.
  • users can open folders, revealing synonyms and related terms associated with different queryTerms.
  • the right-hand area 64 of the screen serves as an area to collect terms for which the system's database schemae will be searched. Users may add individual terms or entire folders in the left-hand area 62 to the right-hand side of the screen. The items in that area 64 will be searched for in the attribute names of the target databases .
  • users may enter new queries in the Query box 66 and may either choose to expand and generalize these terms and return to the screen to continue adding terms to the right-hand side 64 (Refine), or may choose to Submit the query. If Refine is chosen, the steps discussed hereinabove relating to generalization and expansion of the query are followed, and the new tree of terms, synonyms, and related terms is sent to the user. However, if Submit is selected, the terms in the Query box 66 are expanded and generalized as above, and the intermediate tree is not displayed to the user. Instead, all nouns and noun phrases, verbs, data, synonyms and/or related terms are appended to the list of terms retrieved on the right- hand area 64 of the expanded user query screen 60, illustrated in Fig. 5.
  • wild cards may be added to the beginning and end of each term, and spaces are replaced with wild cards (if the query Term is a noun phrase).
  • the LDAP structure 30, illustrated in Fig.” 1 may be searched, and all attributes in the target databases that malch the augmented query Term are return ec ⁇ .
  • the system retrieves the rest of the attributes for the tables that had matching attribute names, and a tree is constructed where queryTerm folders are populated with database folders containing the tables that match. This tree is then returned to the user via the computer system or servlet 16 as the query generating screen 70, illustrated in Fig. 6.
  • LDAP protocol allows quick access to the information in its directories, and provides capabilities allowing greater expression searches. Because LDAP directories are designed for reading data rather than updating or adding new data to the directories, the retrieval speed is fast.
  • a sample LDAP structure 80 is illustrated in Fig. 4.
  • the left half 82 of the LDAP hierarchy holds data used in the learning algorithm (e.g., for retrieval of related terms and/or synonyms). Data in these branches is associated with specific types of users (e.g., general users, Navy officers, etc.).
  • the right half 84 of the tree contains details about databases contained in the system. For each database, all tables, attributes, attribute data types, and whether or not the attribute is a key is stored.
  • the speed of the LDAP search is coupled with the regular expression querying capability is the primary driver for storing both database structure and learning information in the LDAP.
  • the directory tree has two halves, a learning half and a database half.
  • the learning half 82 information is stored about which synonyms a particular type of user will need and which terms often occur together in these queries.
  • the database half 84 of the tree the structures of all the databases in the system are stored.
  • Such databases may be extracted from structure databases (e.g., Oracle), or any other similar database.
  • the third general step in the querying process is directed to creating a final query. More specifically, this phase of the querying process allows users to create a pictorial query and add constraints, view the automatically generated SQL code, submit the query, and browse the resulting data set.
  • the system 10 illustrated in Fig. 1 is adapted to construct a tree whereby queryTerm folders are populated with database folders containing the tables that match. Once the suggested tables are returned to the user via the query generating screen 70, the user may select tables from the left-hand area 72 of the query generating screen 70, adding them to the right-hand work area 74.
  • joins 78 keys or attributes that match between tables are automatically connected with lines (e.g., joins 78), both of which may be deleted by the user, if desired.
  • the system 10 is adapted to allow users to create further joins by clicking and dragging a mouse 40, illustrated in Fig. 1, between attributes in different tables. Users may also add constraints on a specific attribute by clicking the attribute so that it appears in the bottom portion 79 of the screen, then filling in the rest of the constraint.
  • the user may view the SQL code in another screen presentable to the user (an example of which is illustrated in Fig. 7, and press or select the submit option.
  • the servlet 16 then passes the query to a query executor 32 (e.g., mediator) which is commercially available from a variety of vendors, the mediator being adapted to retrieve data from the specified databases in accordance with the SQL code.
  • the data retrieved are then returned to the servlet 16, where the data is formatted and presented to the user via the display device 18.
  • the query executor or mediator in accordance with the SQL code, is directed to retrieve only data from particular databases, tables and attributes, in view of the joins and constraints, if any. No mappings between databases are created.
  • the present invention is directed to a method for querying distributed databases. Generally, and referring to Figs.
  • the method of present invention includes a step 112 of receiving from a user a query (e.g., structured query or unstructured query). Thereafter, the method includes a step 116 of identifying/extracting nouns, noun phrases, verbs and/or data from the query. Thereafter, the methodology includes a step 120 of sending to the user the enhanced query, at which point the user may select terms which will be searched,for any attribute names of the target databases. Users are also afforded the opportunity to enter new queries. In this regard, in the event a new query is received from the user, the new query may be received and then processed as described herein-above! Otherwise, the method includes the step 124 of receiving the selected terms of the enhanced query from the user.
  • a query e.g., structured query or unstructured query
  • the method includes a step 116 of identifying/extracting nouns, noun phrases, verbs and/or data from the query.
  • the methodology includes a step 120 of sending to the user the enhanced query, at which point
  • the method includes the step 128 of searching the database structure (e.g., LDAP structure) to retrieve all attributes in the target databases that match the terms of the enhanced query selected by the user.
  • the method then includes the step of retrievi lg the rest of the attributes for the tables that had matching attribute names and the step 132 of sending to the user matching tables in the distributed databases.
  • the method of the present invention allows the user to create a pictorial query and to add constraints.
  • the method includes the step 136 of receiving selected tables from the user corresponding to the table from which the user wishes data to be retrieved from the system databases.
  • the method Upon receipt of such selected tables from the user, the method includes the step 140 of generating an SQL code and the step 144 of retrieving data from the appropriate target databases and the step 148 of sending the retrieved data to the user.
  • the step 140 of generating an SQL code Upon receipt of such selected tables from the user, the method includes the step 140 of generating an SQL code and the step 144 of retrieving data from the appropriate target databases and the step 148 of sending the retrieved data to the user.
  • the methodology includes the step 210 of presenting the user with a query input screen, which is illustrated in Fig. 3.
  • the query input screen presents the user with an area to enter the query, and gives the user several options, such as whether to perform stemming, include synonyms, include acronyms, perform wild card substitutions, and enable user assisted learning.
  • the method further includes the step 214 of receiving the initial query from the user and the step 218 of extracting nouns and/or noun phrases from the initial query, such extracted nouns/noun phrases identified as "queryTerms".
  • the method may further include the step 226 of generating at least a first synonym relating to the first noun or first queryTerm.
  • the method includes the step 228 of retrieving related terms from the LDAP, a related term being a word that frequently occurs in queries with a queryTerm.
  • the expanded user query screen allows the user to specify which synonyms and/or related terms correspond to the query.
  • the method further includes the step 234 of receiving stem terms, related terms and/or synonyms selected by the user.
  • the method then includes a step 138 of ranking the selected and non-selected terms or words aid the step 142 of storing the rank of such terms and the related terms for future use (as described hereinabove).
  • the method includes the step 246 of searching the LDAP for matching attributes and the step 250 of retrieving the matching attributes and associated table names.
  • the method then includes the step 254 of presenting to the user a query generating screen, illustrated in Fig. 6.
  • This phase of the querying process allows users to create a pictorial query, a old constraints, view the automatically gt erated SQL code, submit the query and browse the resulting data set.
  • the query generating screen illustrated in Fig. 6 presents to the user the suggested returned tables, from which the user may select by adding selected tables to the right-hand work area from the left-hand side of the screen. It should be noted that in the event the user is not satisfied with the presented/retrieved tables, the user may elect to refine the query, whereby the user will be presented with the expanded query screen, illustrated in Fig.
  • the method further includes the step 256 of joining matching attributes between selected retrieved tables.
  • the method includes the step 260 of deleting appropriate joins, as selected by the user.
  • the user may also add joins manually by clicking and dragging the mouse between attributes in different tables.
  • the method may further include the step 264 of joining selected attributes, as selected by the user.
  • the method of the present invention further allows constraints to be added on specific attributes by clicking the attribute so that it appears in the bottom portion of the query generating screen, and allowing the user to fill in the constraint.
  • the method includes the step 268 of constraining selected attributes in accordance with the user's request. Thereafter, the method includes the step 272 of generating an SQL query based upon the selected tables, constraints and joins.
  • SQL code may be presented to the user at step 276.
  • the user may view the SQL code and submit the query to the servlet, which passes the query to the mediator which is adapted to retrieving data from the specified databases in accordance with the SQL query.
  • the method includes the step 280 of receiving the SQL query, the step 284 of retrieving data from the appropriate target databases in accordance with the SQL query, the step 288 of formatting retrieved data and finally, the step 292 of presenting the formatted retrieved data to the user.
  • the present invention is particularly useful in aiding users in accessing data from distributed, structured databases, whereby users need not know the structure or even the existence of the databases needed to complete their queries.
  • users need not know of the existence of relevant data sources currently available in the system, need not understand the schemae of the databases, need not know SQL, and are not limited to orrnatting queries using drop-down menus. Rather, users may enter an unstructured query, select from synonyms and related terms automatically generated by the system to expand the user's initial query, and then generate a pictorial query using database tables the querying system suggests as relevant. After forming and submitting this query, users are presented with the corresponding data from actual databases.

Abstract

A method and system for accessing information or data from distributed databases. The system includes a computer (16) adapted to present the user a query input screen displayable on screen (18), an extractor (22) to extract important nouns or key nouns and noun phrases in a user's query, a stemmer (24) to return the base word in each query term, a synonym generator (26) which identifies synonyms for each query term. The method includes the steps of processing a query to generalize and expand the query to return as many relevant terms to the user, receiving from the user selected terms which the user expects to find in attributes of the distributed databases and searching the directories of the distributed databases using a Lightweight Directory Access Protocol (LDAP) (30). A query executor or mediator (32) retrieves data from the specified databases in accordance with SQL code.

Description

METHOD AND SYSTEM FOR UNIVERSAL QUERYING OF DISTRIBUTED DATABASES
FIELD OF THE INVENTION The present invention generally relates to a system and method for searching target databases, and in particular, to a system and method for universal querying of distributed databases.
BACKGROUND OF THE INVENTION Numerous independently owned collections of data are being created and maintained all over the world. The number of active and legacy data sources almost guarantees that part or all of a query can be answered using one of these countless databases. However, there exist several intermediate steps between posing a query and receiving an answer that make the task of querying others' databases almost impossible for the average user. First, the user must locate a relevant data source. Then he or she must gain access to the source, pose the query using table names and attribute names from that target database, and finally must decide which of the returned data, if any, is relevant to the query. Users' queries must be formatted correctly, either using structured query language (SQL) code, or using formatted blocks of code (i.e., code generated by a back-end process based on user-filled selection boxes and text fields).
While this list of steps is formidable, the process of querying is even more difficult if multiple databases must be consulted to obtain a complete answer. Not only must the above steps be executed, but the data from different sources must be joined; and, if there are discrepancies, the user must decide which source is more reliable. In integrating the data, users must first understand elements of each database's schema so that corresponding fields between databases can be identified. Even once corresponding fields have been located, user must consider both the relative accuracy of the sources and the timeliness of the data contained within the sources. For example, data in a five (5) year old database would obviously be less relevant to data in a current database if a Department of Defense (DoD).member is querying about current troop movements.
There are even more basic problems standing between the user's query and an answering data set. Databases are created with a particular task in mind. The database may be tailored for ease of asking particular types of queries, for ease of storing new data, or for storing groups of attributes as an object. Designing databases for specific purposes allows data to be stored and retrieved efficiently for that particu\artask and possibly a few related tasks. However, this makes it nearly impossible to retrieve information for other unrelated tasks. In looking at the task of querying from this perspective, it can be seen that the most fundamental querying problem is that groupings of objects that make sense in one database representation, make it difficult to regroup attributes to form objects meaningful to a query unrelated to the database' s specific purpose. For example, consider the database tables below which have been excerpted from a hypothetical company's relational database:
Employee Acquisition Agent
Employee_ID Occ pation_Code
Social_Sec_# Salary_Band_A
Salary Salary_Band_B
Title Band A Max PC
Tables and attributes from a hypothetical company database. The "Employee" table has key Employee_ID and attributes Social_Sec_#,
Salary, and Title. The "Acquisition_Agent" table has key Occupation_Code and attributes Salary _Band_A, Salary_Band_B,and Band_A_Max_PO.
A division of this hypothetical company has a database that keeps track of its employees. The database has a table, "Employee," that contains basic information such as name, social security number, salary, and job title. The key in this table is Employee_ID. The database also has individual tables relating to each job title within the company. These tables note the occupation's salary ranges (e.g., Salary_Band_A) and the specific duties at each salary level (e.g., Band_A_Max_PO). For example, for an "Acquisition_Agent," the salary bands are A, B, etc., and the maximum amount that an individual in salary band A may purchase is Band_A_Max_PO. This table's key is Occupation_Code. A reasonable query from another division of the company could be "Return the individuals who can purchase more than 5000 units of product X." Given the above two tables from the database, we can see that the query will be difficult to execute. First, the individual asking the query would have to know that Acquisition_Agent and Buyer were synonymous. Next, a join on salary would need to be executed, but there is no common key. Finally, math would have to be performed to translate between the maximum purchase order allowed (Band_A_Max_PO) and the number of units of X a specific buyer could purchase. This seemingly simple query requires a great deal of database-specific knowledge.
From the above discussion it is clear that there can be a number of issues encountered in trying to retrieve data from an unfamiliar source or sources. There is the initial task of locating relevant data sources. Even once this has been accomplished, the problem of answering the query becomes no easier. Issues range from the banal, but nontrivial, task of gaining access privileges, to the more theoretical and complex tasks of regrouping of attributes to form real-world entities (i.e., the attributes within a table must be understood as representations of actual physical objects). Several potential obstacles are discussed below.
The first potential obstacle concerns gaining access to the relevant data source. This involves being allowed to read the database schema and the data contained within the database. Additionally, it may require the ability to store intermediate tables. When a large, multi-step query with several joins or cross products is carried out, the intermediate tables generated need to be temporarily stored. If systems accessing the database are. remote, it is clearly impractical to transmit these larger data sets to the querying machine. Thus, some local write space may be desired.
A second potential obstacle concerns the fact that each database in the system may have been designed for efficiency for a system-specific task. Databases are created to fit within larger systems. These systems have certain storage and retrieval requirements, as well as baseline assumptions about data format. No matter how general a database schema is developed, the schema must operate within the system and data requirements. This necessarily means there are queries the system will have difficulty answering.
A third potential problem is that poorly labeled tables and attributes can make it impossible to determine the real-world object being represented. Examples of table names extracted from actual DoD data sources include: " $UD01, VNNZ, SYFA, and WUCl . Examples of attribute names extracted from the same DoD source include: SC, TCN, FROM_PPCl, and PRIME. Without the aid of documentation or the original database designers, it is impossible to know what physical objects are represented by these tables. Thus, data corresponding to a user's query is forever lost because a user or an automated system will be unable to identify all relevant data. The fourth potential problem in trying answer a qutry is that documentation is typically scarce and may not be any less cryptic than the database objects themselves. Additionally, original database designers may have forgotten what the objects represent, or they may have moved onto other sites. Users are left to map between database schema and real- world objects to the best of their ability.
If the average user is able to overcome these obstacles and retrieve data from several data sources, he must then combine the responses into a coherent solution set This compilation may involve conflict resolution among data rows. In some situations, it may be acceptable to return both data items and allow the user to decide which data item is more reliable. Consider however a fictitious military example. Two different databases return different locations for the same enemy tank. One location is very close to a US Army base, and the other set of coordinates places the tan much farther away. How should the Army General querying the system react? Should he or she assume the tank is close and ready the troops, and thus risk looking as if the base is preparing for military action? Or should the General not mobilize troops and risk being unprepared for an enemy attack? If the General does not know which data is more accurate in this case, then it is very difficult to determine which results are correct and what action to take.
In addition to the issues discussed in the previous section, attempting to locate relevant databases and achieve accurate query responses in a military environment can be even more difficult. For example, not only does the user need to gain access to a database, but he or she must typically have the appropriate clearance level to see every row and column of the data returned. An even bigger obstacle to overcome is the fact that terminology across branches of the military is not always consistent. First, the same term may have different meanings in different divisions of the military (e.g., rank has different meanings across government military components). Second, the same object (e.g., a 20- foot antenna or a type of ammunition) can have different names in different branches. The first issue leads to a problem in query interpretation while the second creates a problem in retrieving data across databases. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a system and methodology for querying distributed databases.
It is another object of the present invention to provide a query system and method adapted to process unstructured queries.
It is a further object of the present invention to provide a querying system and method which allows a user to retrieve data from a database as soon as such database is introduced into the system without causing the system to be halted or rebooted.
It is still another object of the present invention to provide a querying system and method which aids in the generation of mediators.
It is still another object of the present invention to provide a querying system and methodology which does not utilize a shared representation.
Generally, the system and method of the present invention accomplishes one or more of the above-noted objects of the present invention by providing an architecture which allows users to enter unstructured queries, expands and generalizes such queries, and matches the queries to actual target database tables. The method of the present invention generally includes the steps of processing a query (e.g., an unstructured query) to generalize and/or expand the query to return as many relevant words or terms as possible to the user, receiving from the user selected words or terms which the user expects to find in attributes of the distributed databases, and searching a database structure (e.g., an annotated database) having directories extracted from target distributed databases, the directories including table names, attribute names, sample data, and/or, if available, data dictionary information. Of importance, the step of searching the database structure includes utilizing a Lightweight Directory Access Protocol (LDAP), which allows quick access to information directories. Since LDAP directories are designed for reading data rather than updating or adding new data to the directories, the retrieval speed of information contained within the directories (e.g., table names and table attributes) is very fast.
In one aspect of the method of the present invention, the step of processing a query includes the step of receiving at least a first query from a user or client, the first query including at least a first term and the steps of identifying key terms and generalizing and/or expanding the first query to enhance the likelihood of retrieval of relevant data to the user. In this regard, the step of processing at least the first query may include the step of identifying or extracting key words or terms from the firs cjuery, such as the first term, since such key words may correspond to an attribute or table name in the target distributed databases. In one embodiment, the step of extracting key words includes the step of extracting at least a first noun and/or a first noun phrase from the first query. In another embodiment, the step of extracting key words comprises the step of extracting at least a first verb from the first query. In yet another embodiment, the step of extracting key words comprises the step of extracting at least a first data item (e.g., part number) in the first query. In order to further generalize the first query in order to enhance the chances of capturing relevant information from target databases, the step of processing at least the first query comprises the step of stemming at least a first term in the first query, such that at least a first root word corresponding to the first term may be utilized in the final search. The processing step may also include the step of generating at least a first synonym of at least the first term of the first unstructured query to expand the scope of the search. The step of processing at least the first query may be facilitated by presenting to the user an initial user query screen, whereby the user is afforded an opportunity to perform various options, including perform stemming, include synonyms, include acronyms, and/or perform wild card substitutions.
Once such nouns, noun phrases, verbs, number"?, synonyms, acronyms, and/or related terms are retrieved and/or generated, the processing step may include the step of presenting such terms to the user in an expanded or refined user query screen format. Such relevant words (e.g., nouns, noun phrases, verbs, numbers, and/or synonyms) may be presented to the user or client to afford the user the opportunity to select the returned relevant terms (e.g., gathered nouns, noun phrases, synonyms, acronyms, data items and/or related items) which the user believes useful in searching the target distributed databases. As a result, the user is able to select or collect terms for which the database schemae will be searched.
In order to facilitate subsequent searches by a user, the step of processing the first unstructured query from the user may further include the step of ranking selected relevant terms (e.g., synonyms or other related terms). In this regard, if a term is selected, the rank for such term is increased and, conversely, if a term is not selected, the rank for such term is decreased. Additionally, the methodology of the present invention is adapted to learn from the structure of the users' queries. In this regard, if query terms frequently occur together, when a user submits only one of these terms, information regarding both terms may be returned to the user to save the user time. Such learning capability may be included within the LDAP. Conversely, if certain synonyms are not frequently selected, such synonyms will not be returned to users in the future. As noted hereinabove, the method generally includes the step of searching a database structure, such as an LDAP directory which may include attributes, table names, sample data and/or data dictionary information in the target distributed databases, for attributes and/or table names that match the terms selected by the user (e.g., augmented query terms) and presenting such information to the user. Such attributes and/or table names may be retrieved, along with the remaining attributes for tables that had matching attribute names. A first tree may be constructed, whereby query term folders are populated with database folders containing the tables that match the augmented query terms and such tree is presented or returned to the user. Such folders are labeled with the query term or terms that correspond to the matching tables contained in them. The methodology of the present invention may further include the step of processing a final query from the user. In one embodiment, the step of creating a final query comprises creating a pictorial query for the user, whereby the user is allowed to add constraints and/or joins to produce a final query. The step of processing the final query further includes the step of automatically generating SQL code corresponding to the final query and utilizing a mediator to forward the query to appropriate databases, receive data from each of the appropriate databases, and returning such data to a servlet, where such data is formatted and presented to the user.
In another aspect, the present invention relates to a system for processing at least a first query to retrieve data relevant to the first query from at least a first of a plurality of distributed or target databases. Generally, the system of the present invention includes a computer system for at least receiving a first query from a first user, an extractor for identifying key words, such as nouns, noun phrases, verbs or numbers in the first query, a database structure, such as an LDAP directory, including at least one of a plurality of table names and attributes relating to tables within the distributed databases, the directory being searchable to provide the user, via the computer system, with at least a first database table name and attributes associated with retrieved tables corresponding to the retrieved table names, and a code generator for generating SQL code based upon retrieved table names and/or attributes selected by the user. In order to enhance the search, the system may further include a c^uery generalizer for processing the firs+ ^uery to provide or return to the user via the computer system terms related to at least a first term of the first query to enable the user to select terms the user expects to find in distributed database tables. For purposes of facilitating searching, the system may further include a learning program, whereby information about which synonyms a particular type of user will need and which terms often appear together in these queries is stored and/or ranked. In this regard, after the user enters a query and chooses relevant synonyms, the rank of terms is updated. If terms are selected, the rank of such terms is increased and conversely, if terms are not selected, the rank of such terms is decreased. Further, the system is adapted to learn from the structure of the users' queries. In this regard, if terms frequently occur together, then when the user asks only about one of these terms, the system will return information about those terms to the user. The system may further include a central mediator for receiving the query and SQL code, via any computer system, the central mediator in communication with the target distributed databases. Such central mediator may be adapted to return the retrieved data from the appropriate distributed databases to the computer system, which is capable of formatting and presenting such data to the user via, for example, a display screen.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagrammatic illustration showing one embodiment of the system of the present invention; Fig. 2 is a diagrammatic illustration showing the architecture of the system illustrated in Fig. 1 ;
Fig. 3 illustrates a view of displayed textual and graphic information related to entering a query via the screen;
Fig. 4 illustrates the structure of a sample LDAP directory; Fig. 5 illustrates a view of displayed textual and? graphic information related to expanding a user's query via the screen;
Fig. 6 illustrates a view of displayed textual and graphic information related to finalizing a user's query via the screen;
Fig. 7 illustrates a sample SQL query; Figs. 8A-8B present a flow chart of one embodiment of the method of the present invention; and Figs.9A- D present a flow chart of another embo iment of the method of the present invention.
DETAILED DESCRIPTION
Generally, the method and system of the present invention allows users or clients to enter an unstructured query that the system expands and generalizes and then matches to actual database tables. Users may interact with the system in three different ways. First, the users may enter an unstructured query, which may be a list of important terms as in a typical search query or, alternatively, the query may be a natural language question or sentence. Second, users may select the nouns, noun phrases, synonyms, and/or related terms that the user expects to appear in the table names and/or attribute or field names of the target databases. In this regard, after the unstructured query is received, nouns and/or noun phrases in the query may be identified, and the query may be generalized and/or expanded to return to the user as many relevant words as possible. From these returned words, the user may select the terms he or she expects to find in the database attributes and/or table names in the system. And third, the user may form Structured Query Language code ("SQL") by clicking on tables and attributes presented to the user. In this regard, the database matches that the system believes correspond to the query are presented to the user and given the tables, the user may form a pictorial query from which the SQL code is automatically generated. Thereafter, the data itself may be displayed to the user.
One embodiment of the system 10 of the present invention is illustrated in Fig. 1. The architecture associated with the system of the present invention is illustrated in Fig. 2. As noted hereinabove, the method first involves an interface with the user to allow the user to specify an initial query. The first step in the querying process begins with the user entering an initial query and ends with the systems returning nouns, noun phrases, verbs, data synonyms, and/or related terms. The purpose of this phase of the querying process is to identify key words of the query and to expand and/or generalize the initial query so that later in the process, as many correct tables as possible may be returned to the user. In particular, the system 10 of the present invention includes a computer system 16 (e.g., a servlet), which generally functions to receive and send data to the appropriate destination. In this embodiment, the computer system 16 is adapted to present the user with a query input screen 50, illustrated in Fig. 3, which is displayable to the user via a display screen 18, illustrated in Fig. 1. Such user query input screen 50 allows the user to enter an unstructured query in the query field 52, illustrated in Fig. 3. Via this user query input screen 50, the ustrmay select which particular generalization and/or expansion functions should be utilized in expanding the query, such as perform stemming, include synonyms, include acronyms, perform wild card substitution and enable user assisted learning (to be described in more detail hereinbelow). In this regard, the system 10 also includes a noun/noun phrase extractor 22, a stemmer 24 and a synonym generator 26. The noun/noun phrase extractor 22, which is commercially available from various vendors, is adapted to identify important or key nouns and noun phrases in a user's query. In general, because of the way in which queries are phrased, the most important items in a user query are nouns, noun phrases, conditionals (e.g., greater than) and numbers. Thus the noun/noun phrase/verb/data extractor 22 searches for only nouns, noun phrases, verbs and data and returns to the user, via the computer system 16, a list of query Terms (i.e., identified or extracted nouns/noun phrases/verbs/data). The stemmer 24 returns the base word for each query Term in the returned list. For example, the query Term "guns" would be turned into "gun" and "buyers" would be turned into "buy." The system 10 is also adapted to expand each term by finding synonyms. In this regard, the synonym generator 26, which is commercially available as Princeton's WordNet Lexicon, identifies synonyms for each query Term, and those synonyms whose rank is greater than the system threshold are collected and returned to the user. Initially, all terms are ranked at zero (0). As terms are returned and selected by the user, the rank of such selected terms increases. If returned terms are not selected by the user, the rank of such non-selected terms decreases. When the rank of such non-selected terms falls below the user-acceptability level, these terms are no longer returned to the user. In the event user assisted learning is enabled or desired by the user, related terms may be retrieved from the LDAP 30, such related terms being words that frequently occur in queries with a query Term. In this embodiment, the LDAP directory's learning branches, an example of which is illustrated in Fig. 4, may contain the most frequently co-occurring terms for every query Term. More specifically, as users query the system 10, the choices they make are used to learn what types of information should be returned to them in future queries. Initially, the system 10 knows nothing. All users have a blank slate, and all query responses are equally "good" answers. After users enter queries and choose relevant synonyms, the rank of terms is updated. If terms are selected, their rank is increased. Conversely, if terms are not selected, their rank is decreased. Only terms whose rank is greater than the system threshold are relumed. Additionally, the system 10 is adapted to learn from the structure of the users' queries. If terms frequently occur together (e.g., gun and ammunition), then when the user asks only about one of these terms, the system 10 will return information about both. This saves the user time from having to add terms and resubmit the query since the information may be already provided. These co-occurrence terms also suggest related information to the user and thus expand users' queries. All this information is kept for each type of user so that different meanings across different entities (e.g., Department of Defense components) may be remembered. Once the nouns, noun phrases, verbs, data, synonyms and/or related terms are retrieved, they are formatted (e.g., by the computer system or servlet 16) into a Java Swing class component that allows data to be displayed in a tree format (called a DefaultMutable Tree) and sent to the expanded user query screen, illustrated in Fig. 5, which is displayable to the user via display device 18.
Fig. 5 illustrates the expanded user query screen 60 which contains the nouns, noun phrases, synonyms and/or related terms which have been retrieved and displayed in a tree format in a left-hand area 62 of the screen. In this expanded user query screen 60, users can open folders, revealing synonyms and related terms associated with different queryTerms. The right-hand area 64 of the screen serves as an area to collect terms for which the system's database schemae will be searched. Users may add individual terms or entire folders in the left-hand area 62 to the right-hand side of the screen. The items in that area 64 will be searched for in the attribute names of the target databases . Additionally, users may enter new queries in the Query box 66 and may either choose to expand and generalize these terms and return to the screen to continue adding terms to the right-hand side 64 (Refine), or may choose to Submit the query. If Refine is chosen, the steps discussed hereinabove relating to generalization and expansion of the query are followed, and the new tree of terms, synonyms, and related terms is sent to the user. However, if Submit is selected, the terms in the Query box 66 are expanded and generalized as above, and the intermediate tree is not displayed to the user. Instead, all nouns and noun phrases, verbs, data, synonyms and/or related terms are appended to the list of terms retrieved on the right- hand area 64 of the expanded user query screen 60, illustrated in Fig. 5. Once the user submits these queryTerms, wild cards may be added to the beginning and end of each term, and spaces are replaced with wild cards (if the query Term is a noun phrase). Thereafter, the LDAP structure 30, illustrated in Fig." 1, may be searched, and all attributes in the target databases that malch the augmented query Term are return ec{. The system retrieves the rest of the attributes for the tables that had matching attribute names, and a tree is constructed where queryTerm folders are populated with database folders containing the tables that match. This tree is then returned to the user via the computer system or servlet 16 as the query generating screen 70, illustrated in Fig. 6.
Of importance, the LDAP protocol allows quick access to the information in its directories, and provides capabilities allowing greater expression searches. Because LDAP directories are designed for reading data rather than updating or adding new data to the directories, the retrieval speed is fast. A sample LDAP structure 80 is illustrated in Fig. 4. The left half 82 of the LDAP hierarchy holds data used in the learning algorithm (e.g., for retrieval of related terms and/or synonyms). Data in these branches is associated with specific types of users (e.g., general users, Navy officers, etc.). The right half 84 of the tree contains details about databases contained in the system. For each database, all tables, attributes, attribute data types, and whether or not the attribute is a key is stored. The speed of the LDAP search is coupled with the regular expression querying capability is the primary driver for storing both database structure and learning information in the LDAP. As note hereinabove, the directory tree has two halves, a learning half and a database half. In the learning half 82, information is stored about which synonyms a particular type of user will need and which terms often occur together in these queries. In the database half 84 of the tree, the structures of all the databases in the system are stored. In this embodiment, there are four databases in the system: SUPPLY, Rainbow, KVDBA, and KVAWUB. Such databases may be extracted from structure databases (e.g., Oracle), or any other similar database.
The third general step in the querying process is directed to creating a final query. More specifically, this phase of the querying process allows users to create a pictorial query and add constraints, view the automatically generated SQL code, submit the query, and browse the resulting data set. As noted hereinabove, the system 10 illustrated in Fig. 1 is adapted to construct a tree whereby queryTerm folders are populated with database folders containing the tables that match. Once the suggested tables are returned to the user via the query generating screen 70, the user may select tables from the left-hand area 72 of the query generating screen 70, adding them to the right-hand work area 74. As the tables 76a, 76b are added, keys or attributes that match between tables are automatically connected with lines (e.g., joins 78), both of which may be deleted by the user, if desired. The system 10 is adapted to allow users to create further joins by clicking and dragging a mouse 40, illustrated in Fig. 1, between attributes in different tables. Users may also add constraints on a specific attribute by clicking the attribute so that it appears in the bottom portion 79 of the screen, then filling in the rest of the constraint. Once the query is built by the servlet 16, the user may view the SQL code in another screen presentable to the user (an example of which is illustrated in Fig. 7, and press or select the submit option. The servlet 16 then passes the query to a query executor 32 (e.g., mediator) which is commercially available from a variety of vendors, the mediator being adapted to retrieve data from the specified databases in accordance with the SQL code. The data retrieved are then returned to the servlet 16, where the data is formatted and presented to the user via the display device 18. In this embodiment, the query executor or mediator, in accordance with the SQL code, is directed to retrieve only data from particular databases, tables and attributes, in view of the joins and constraints, if any. No mappings between databases are created. In another aspect, the present invention is directed to a method for querying distributed databases. Generally, and referring to Figs. 8A-8B, in this embodiment, the method of present invention includes a step 112 of receiving from a user a query (e.g., structured query or unstructured query). Thereafter, the method includes a step 116 of identifying/extracting nouns, noun phrases, verbs and/or data from the query. Thereafter, the methodology includes a step 120 of sending to the user the enhanced query, at which point the user may select terms which will be searched,for any attribute names of the target databases. Users are also afforded the opportunity to enter new queries. In this regard, in the event a new query is received from the user, the new query may be received and then processed as described herein-above! Otherwise, the method includes the step 124 of receiving the selected terms of the enhanced query from the user. Thereafter, the method includes the step 128 of searching the database structure (e.g., LDAP structure) to retrieve all attributes in the target databases that match the terms of the enhanced query selected by the user. The method then includes the step of retrievi lg the rest of the attributes for the tables that had matching attribute names and the step 132 of sending to the user matching tables in the distributed databases. At this point, the method of the present invention allows the user to create a pictorial query and to add constraints. In this regard, the method includes the step 136 of receiving selected tables from the user corresponding to the table from which the user wishes data to be retrieved from the system databases. Upon receipt of such selected tables from the user, the method includes the step 140 of generating an SQL code and the step 144 of retrieving data from the appropriate target databases and the step 148 of sending the retrieved data to the user. Another embodiment of the methodology of the present invention is illustrated in
Figs. 9A-9D. Initially, the methodology includes the step 210 of presenting the user with a query input screen, which is illustrated in Fig. 3. As noted hereinabove, the query input screen presents the user with an area to enter the query, and gives the user several options, such as whether to perform stemming, include synonyms, include acronyms, perform wild card substitutions, and enable user assisted learning. In this regard, the method further includes the step 214 of receiving the initial query from the user and the step 218 of extracting nouns and/or noun phrases from the initial query, such extracted nouns/noun phrases identified as "queryTerms". In the event the user has requested stemming to be performed, at least a first noun in the initial query or a first queryTerm is stemmed (step 222), and in the event the user has requested synonyms be included, the method may further include the step 226 of generating at least a first synonym relating to the first noun or first queryTerm. In the event the user assisted learning has been enabled or requested by the user, the method includes the step 228 of retrieving related terms from the LDAP, a related term being a word that frequently occurs in queries with a queryTerm. Once the nouns, noun phrases, verbs, data, synonyms and/or related terms are retrieved, the method further includes the step 230 of presenting such terms to the user in an expanded user query screen, illustrated in Fig. 5. As noted hereinabove, the expanded user query screen allows the user to specify which synonyms and/or related terms correspond to the query. In this regard, the method further includes the step 234 of receiving stem terms, related terms and/or synonyms selected by the user. The method then includes a step 138 of ranking the selected and non-selected terms or words aid the step 142 of storing the rank of such terms and the related terms for future use (as described hereinabove). Utilizing the queryTerms selected by the user, the method includes the step 246 of searching the LDAP for matching attributes and the step 250 of retrieving the matching attributes and associated table names.
The method then includes the step 254 of presenting to the user a query generating screen, illustrated in Fig. 6. This phase of the querying process allows users to create a pictorial query, a old constraints, view the automatically gt erated SQL code, submit the query and browse the resulting data set. As noted hereinabove, the query generating screen illustrated in Fig. 6 presents to the user the suggested returned tables, from which the user may select by adding selected tables to the right-hand work area from the left-hand side of the screen. It should be noted that in the event the user is not satisfied with the presented/retrieved tables, the user may elect to refine the query, whereby the user will be presented with the expanded query screen, illustrated in Fig. 5, or, alternatively, the user may submit a new query by going back to the user query input screen. In the event the user wishes to continue, the method further includes the step 256 of joining matching attributes between selected retrieved tables. In the event the user does not wish to proceed with the query utilizing one or more of the automatically joined matching attributes, the method includes the step 260 of deleting appropriate joins, as selected by the user. The user may also add joins manually by clicking and dragging the mouse between attributes in different tables. In this regard, the method may further include the step 264 of joining selected attributes, as selected by the user. The method of the present invention further allows constraints to be added on specific attributes by clicking the attribute so that it appears in the bottom portion of the query generating screen, and allowing the user to fill in the constraint. In this regard, the method includes the step 268 of constraining selected attributes in accordance with the user's request. Thereafter, the method includes the step 272 of generating an SQL query based upon the selected tables, constraints and joins. Such
SQL code may be presented to the user at step 276. Once the query is built, the user may view the SQL code and submit the query to the servlet, which passes the query to the mediator which is adapted to retrieving data from the specified databases in accordance with the SQL query. In this regard, the method includes the step 280 of receiving the SQL query, the step 284 of retrieving data from the appropriate target databases in accordance with the SQL query, the step 288 of formatting retrieved data and finally, the step 292 of presenting the formatted retrieved data to the user.
As a result, the present invention is particularly useful in aiding users in accessing data from distributed, structured databases, whereby users need not know the structure or even the existence of the databases needed to complete their queries. When querying the
* system, users need not know of the existence of relevant data sources currently available in the system, need not understand the schemae of the databases, need not know SQL, and are not limited to orrnatting queries using drop-down menus. Rather, users may enter an unstructured query, select from synonyms and related terms automatically generated by the system to expand the user's initial query, and then generate a pictorial query using database tables the querying system suggests as relevant. After forming and submitting this query, users are presented with the corresponding data from actual databases.
The foregoing description of the present invention has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit the invention to the form disclosed herein. Consequently, variations and modifications commensurate with the above teachings, and the skill or knowledge of the relevant art, are within the scope of the present invention. The embodiments described hereinabove are further intended to explain best modes known for practicing the invention and to enable others skilled in the art to utilize the invention in such, or other, embodiments and with various modifications required by the particular applications or uses of the present invention. It is intended that the appended claims be construed to include alternative embodiments to the extent permitted by the prior art.

Claims

CLAIMS What is claimed is:
1. A method of obtaining information from a plurality of distributed databases, comprising the steps of: receiving a first query from a first user; processing the first query to identify a plurality of key terms in the first query, the plurality of key terms comprising at least orfe of a first noun and a first noun phrase; displaying to the first user an expanded query including at least a plurality of returned key terms; receiving from the first user a plurality of select key terms, the plurality of select key terms being selected from the plurality of returned key terms by the first user; processing the expanded query to retrieve a plurality of attributes and a plurality of table names, wherein the plurality of attributes corresponds to the plurality of table names, wherein the plurality of table names correspond to a plurality of tables in the plurality of distributed databases; displaying to the first user the plurality of table names and the plurality of attributes; receiving from the first user a final query, the final query including a plurality of select tables, the plurality of select tables being selected from the plurality of table names by the first user; processing the final query to generate a first SQL query corresponding to the final query; and returning to the first user a first data result set based on the first SQL query.
2. A method as claimed in Claim 1 , wherein the first query is an unstructured query.
3. A method as claimed in Claim 1 , wherein said step of processing the first query comprises the step of stemming a first of the plurality of key terms.
4. A method as claimed in Claim 1 , further comprising the step of: identifying at least one of a first verb and a first data item within the first query.
5. A method as claimed in Claim 1, wherein sai step of processing the first query comprises the step of identifying at least a first synonym of a first of the plurality of key terms.
6. A method as claimed in Claim 1 , further comprising the step of: ranking at least each the plurality of select key terms to produce a rank of terms; and storing the rank of terms for the first user.
7. A method for obtaining data from a plurality of distributed databases, said method comprising the steps of: receiving a first query from a first user; and processing the first query to search a plurality of directories corresponding to the plurality of distributed databases to retrieve a plurality of database structures, wherein the plurality of database structures correspond to the first query.
8. A method as claimed in Claim 7, wherein the plurality of database structures comprises a plurality of table names and attributes.
9. A method as claimed in Claim 7, wherein said processing step comprises the steps of: extracting from the first query at least one of a first noun, a first noun phrase, a first verb and a first number; and searching the plurality of directories for at least one of the first noun, the first noun phrase, the first verb and the first number.
10. A method as claimed in Claim 7, wherein said processing step comprises the steps of: stemming at least a first term relating to the first query to produce a first stemmed term; and searching the plurality of directories for the first stemmed term.
11. A method as claimed in Claim 7, wherein said processing step comprises the steps of: retrieving for a first synonym of a first term relating to the first query; and searching the plurality of directories for at least one of the first term and the first synonym.
12. A method as claimed in Claim 7, wherein said processing step comprises the steps of: retrieving at least a first related term corresponding to a first term, the first term being related to the first query; receiving from the first user at least a first selected term corresponding to at least one of the first relevant term and the first term of the first query; and searching the plurality of directories for at least the first selected term, wherein a first of the plurality of directories includes the first selected term.
13. A method as claimed in Claim 12, further comprising the step of: generating a first SQL query from at least the first selected term and the first of the plurality of directories; retrieving from a first of the plurality of distributed databases corresponding to the first of the plurality of directories first data, wherein the first data is displayable to the first user.
PCT/US2000/032815 1999-12-02 2000-12-01 Method and system for universal querying of distributed databases WO2001041002A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU27254/01A AU2725401A (en) 1999-12-02 2000-12-01 Method and system for universal querying of distributed databases

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/452,849 1999-12-02
US09/452,849 US6523028B1 (en) 1998-12-03 1999-12-02 Method and system for universal querying of distributed databases

Publications (1)

Publication Number Publication Date
WO2001041002A1 true WO2001041002A1 (en) 2001-06-07

Family

ID=23798207

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/032815 WO2001041002A1 (en) 1999-12-02 2000-12-01 Method and system for universal querying of distributed databases

Country Status (3)

Country Link
US (1) US6523028B1 (en)
AU (1) AU2725401A (en)
WO (1) WO2001041002A1 (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003083720A2 (en) * 2002-04-03 2003-10-09 Biowisdom Limited Database searching method and system
GB2393541A (en) * 2002-09-27 2004-03-31 Hewlett Packard Development Co Method for management of synonymic searching
EP1423804A1 (en) * 2001-08-10 2004-06-02 Datavine Research Services Method and apparatus for access, integration and analysis of heterogeneous data sources via the manipulation of metadata objects
WO2004109546A1 (en) * 2003-06-06 2004-12-16 Tietoenator Oyj Processing data records for finding counterparts in a reference data set
WO2005096174A1 (en) * 2004-04-02 2005-10-13 Health Communication Network Limited Method, apparatus and computer program for searching multiple information sources
GB2417115A (en) * 2002-09-27 2006-02-15 Hewlett Packard Development Co Managing synonymic searching and ranking results
WO2006130521A1 (en) * 2005-06-02 2006-12-07 Marketinggenius.Com, Inc. Database query construction and handling
US7734722B2 (en) 2005-06-02 2010-06-08 Genius.Com Incorporated Deep clickflow tracking
EP2237169A1 (en) * 2009-03-30 2010-10-06 BRITISH TELECOMMUNICATIONS public limited company Data searching system
US8103690B2 (en) 2005-06-03 2012-01-24 Genius.Com Realtime database architecture
EP2584482A1 (en) * 2011-10-19 2013-04-24 Business Objects Software Limited Answer-augmented query suggestion
WO2015009353A1 (en) * 2013-07-17 2015-01-22 Thoughtspot, Inc. Search engine for information retrieval system
EP2966457A1 (en) * 2014-07-09 2016-01-13 Baidu Online Network Technology (Beijing) Co., Ltd Interactive searching method and apparatus
US9405794B2 (en) 2013-07-17 2016-08-02 Thoughtspot, Inc. Information retrieval system
RU2632134C2 (en) * 2015-12-28 2017-10-02 Общество С Ограниченной Ответственностью "Яндекс" Method and system of processing of search requests
US10970319B2 (en) 2019-07-29 2021-04-06 Thoughtspot, Inc. Phrase indexing
US11023486B2 (en) 2018-11-13 2021-06-01 Thoughtspot, Inc. Low-latency predictive database analysis
US11157564B2 (en) 2018-03-02 2021-10-26 Thoughtspot, Inc. Natural language question answering systems
US11176199B2 (en) 2018-04-02 2021-11-16 Thoughtspot, Inc. Query generation based on a logical data model
US11200227B1 (en) 2019-07-31 2021-12-14 Thoughtspot, Inc. Lossless switching between search grammars
US11334548B2 (en) 2019-01-31 2022-05-17 Thoughtspot, Inc. Index sharding
US11354326B2 (en) 2019-07-29 2022-06-07 Thoughtspot, Inc. Object indexing
US11379495B2 (en) 2020-05-20 2022-07-05 Thoughtspot, Inc. Search guidance
US11409744B2 (en) 2019-08-01 2022-08-09 Thoughtspot, Inc. Query generation based on merger of subqueries
US11416477B2 (en) 2018-11-14 2022-08-16 Thoughtspot, Inc. Systems and methods for database analysis
US11442932B2 (en) 2019-07-16 2022-09-13 Thoughtspot, Inc. Mapping natural language to queries using a query grammar
US11544239B2 (en) 2018-11-13 2023-01-03 Thoughtspot, Inc. Low-latency database analysis using external data sources
US11544272B2 (en) 2020-04-09 2023-01-03 Thoughtspot, Inc. Phrase translation for a low-latency database analysis system
US11580147B2 (en) 2018-11-13 2023-02-14 Thoughtspot, Inc. Conversational database analysis
US11580111B2 (en) 2021-04-06 2023-02-14 Thoughtspot, Inc. Distributed pseudo-random subset generation
US11586620B2 (en) 2019-07-29 2023-02-21 Thoughtspot, Inc. Object scriptability
US11734286B2 (en) 2017-10-10 2023-08-22 Thoughtspot, Inc. Automatic database insight analysis
US11928114B2 (en) 2019-04-23 2024-03-12 Thoughtspot, Inc. Query generation based on a logical data model with one-to-one joins

Families Citing this family (101)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL131831A (en) 1997-03-12 2002-12-01 Nomadix Inc Nomadic translator or router
US7194554B1 (en) 1998-12-08 2007-03-20 Nomadix, Inc. Systems and methods for providing dynamic network authorization authentication and accounting
US8266266B2 (en) 1998-12-08 2012-09-11 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
US8713641B1 (en) 1998-12-08 2014-04-29 Nomadix, Inc. Systems and methods for authorizing, authenticating and accounting users having transparent computer access to a network using a gateway device
AU1224101A (en) 1999-10-22 2001-05-08 Nomadix, Inc. Gateway device having an xml interface and associated method
EP1109115A1 (en) * 1999-12-14 2001-06-20 Sun Microsystems, Inc. Merging driver for accessing multiple database sources
US10002167B2 (en) 2000-02-25 2018-06-19 Vilox Technologies, Llc Search-on-the-fly/sort-on-the-fly by a search engine directed to a plurality of disparate data sources
US7120574B2 (en) * 2000-04-03 2006-10-10 Invention Machine Corporation Synonym extension of search queries with validation
WO2002019147A1 (en) * 2000-08-28 2002-03-07 Emotion, Inc. Method and apparatus for digital media management, retrieval, and collaboration
US20020152202A1 (en) * 2000-08-30 2002-10-17 Perro David J. Method and system for retrieving information using natural language queries
US20020078020A1 (en) * 2000-10-02 2002-06-20 Lawton Scott S. Method and system of entering search criteria using multiple entry fields per data element
JP2002215659A (en) * 2001-01-18 2002-08-02 Noriaki Kawamae Information retrieval support method and information retrieval support system
US8874431B2 (en) * 2001-03-16 2014-10-28 Meaningful Machines Llc Knowledge system method and apparatus
US7711547B2 (en) * 2001-03-16 2010-05-04 Meaningful Machines, L.L.C. Word association method and apparatus
US7860706B2 (en) 2001-03-16 2010-12-28 Eli Abir Knowledge system method and appparatus
US6904428B2 (en) * 2001-04-18 2005-06-07 Illinois Institute Of Technology Intranet mediator
US7194483B1 (en) 2001-05-07 2007-03-20 Intelligenxia, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
USRE46973E1 (en) 2001-05-07 2018-07-31 Ureveal, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US7536413B1 (en) 2001-05-07 2009-05-19 Ixreveal, Inc. Concept-based categorization of unstructured objects
US7627588B1 (en) 2001-05-07 2009-12-01 Ixreveal, Inc. System and method for concept based analysis of unstructured data
US7028024B1 (en) * 2001-07-20 2006-04-11 Vignette Corporation Information retrieval from a collection of information objects tagged with hierarchical keywords
JP2003044520A (en) * 2001-07-27 2003-02-14 Fujitsu Ltd Information retrieval system for design asset
US7552135B2 (en) * 2001-11-15 2009-06-23 Siebel Systems, Inc. SQL adapter business service
US7069263B1 (en) * 2002-02-19 2006-06-27 Oracle International Corporation Automatic trend analysis data capture
US6996558B2 (en) 2002-02-26 2006-02-07 International Business Machines Corporation Application portability and extensibility through database schema and query abstraction
US8589413B1 (en) 2002-03-01 2013-11-19 Ixreveal, Inc. Concept-based method and system for dynamically analyzing results from search engines
CA2382195A1 (en) * 2002-04-17 2003-10-17 Ibm Canada Limited-Ibm Canada Limitee Support for wild card characters in code assistance
US7082428B1 (en) * 2002-09-16 2006-07-25 Bellsouth Intellectual Property Corporation Systems and methods for collaborative searching
US9754038B2 (en) 2003-02-05 2017-09-05 Open Text Sa Ulc Individually deployable managed objects and system and method for managing the same
US20040243556A1 (en) * 2003-05-30 2004-12-02 International Business Machines Corporation System, method and computer program product for performing unstructured information management and automatic text analysis, and including a document common analysis system (CAS)
US7383257B2 (en) * 2003-05-30 2008-06-03 International Business Machines Corporation Text explanation for on-line analytic processing events
US20040243560A1 (en) * 2003-05-30 2004-12-02 International Business Machines Corporation System, method and computer program product for performing unstructured information management and automatic text analysis, including an annotation inverted file system facilitating indexing and searching
US7139752B2 (en) * 2003-05-30 2006-11-21 International Business Machines Corporation System, method and computer program product for performing unstructured information management and automatic text analysis, and providing multiple document views derived from different document tokenizations
US7146361B2 (en) * 2003-05-30 2006-12-05 International Business Machines Corporation System, method and computer program product for performing unstructured information management and automatic text analysis, including a search operator functioning as a Weighted AND (WAND)
US7315857B2 (en) * 2004-05-13 2008-01-01 International Business Machines Corporation Method and system for propagating annotations using pattern matching
US9026901B2 (en) * 2003-06-20 2015-05-05 International Business Machines Corporation Viewing annotations across multiple applications
US8321470B2 (en) * 2003-06-20 2012-11-27 International Business Machines Corporation Heterogeneous multi-level extendable indexing for general purpose annotation systems
US8600963B2 (en) 2003-08-14 2013-12-03 Google Inc. System and method for presenting multiple sets of search results for a single query
WO2005022348A2 (en) * 2003-08-27 2005-03-10 Equifax, Inc. Application processing and decision systems and processes
US11132183B2 (en) 2003-08-27 2021-09-28 Equifax Inc. Software development platform for testing and modifying decision algorithms
US7593929B2 (en) * 2003-10-22 2009-09-22 International Business Machines Corporation Context sensitive term expansion with dynamic term expansion
US7617196B2 (en) * 2003-10-22 2009-11-10 International Business Machines Corporation Context-sensitive term expansion with multiple levels of expansion
US7900133B2 (en) 2003-12-09 2011-03-01 International Business Machines Corporation Annotation structure type determination
US8260764B1 (en) 2004-03-05 2012-09-04 Open Text S.A. System and method to search and generate reports from semi-structured data
US7840547B1 (en) 2004-03-31 2010-11-23 Google Inc. Methods and systems for efficient query rewriting
US7761439B1 (en) * 2004-06-30 2010-07-20 Google Inc. Systems and methods for performing a directory search
US7680856B2 (en) * 2004-11-23 2010-03-16 Microsoft Corporation Storing searches in an e-mail folder
US8433720B2 (en) * 2004-12-29 2013-04-30 Oracle International Corporation Enabling an application to interact with an LDAP directory as though the LDAP directory were a database object
US8775459B2 (en) * 2005-01-07 2014-07-08 International Business Machines Corporation Method and apparatus for robust input interpretation by conversation systems
US7792811B2 (en) * 2005-02-16 2010-09-07 Transaxtions Llc Intelligent search with guiding info
US20060230027A1 (en) * 2005-04-07 2006-10-12 Kellet Nicholas G Apparatus and method for utilizing sentence component metadata to create database queries
US20060229866A1 (en) * 2005-04-07 2006-10-12 Business Objects, S.A. Apparatus and method for deterministically constructing a text question for application to a data source
US20060229853A1 (en) * 2005-04-07 2006-10-12 Business Objects, S.A. Apparatus and method for data modeling business logic
US20060230028A1 (en) * 2005-04-07 2006-10-12 Business Objects, S.A. Apparatus and method for constructing complex database query statements based on business analysis comparators
US9400838B2 (en) * 2005-04-11 2016-07-26 Textdigger, Inc. System and method for searching for a query
US20060248087A1 (en) * 2005-04-29 2006-11-02 International Business Machines Corporation System and method for on-demand analysis of unstructured text data returned from a database
US7529744B1 (en) * 2005-06-30 2009-05-05 Symantec Corporation Search interface server and storage management
EP1952280B8 (en) * 2005-10-11 2016-11-30 Ureveal, Inc. System, method&computer program product for concept based searching&analysis
US8694530B2 (en) * 2006-01-03 2014-04-08 Textdigger, Inc. Search system with query refinement and search method
US7676485B2 (en) * 2006-01-20 2010-03-09 Ixreveal, Inc. Method and computer program product for converting ontologies into concept semantic networks
WO2007114932A2 (en) 2006-04-04 2007-10-11 Textdigger, Inc. Search system and method with text function tagging
US20090048860A1 (en) * 2006-05-08 2009-02-19 Corbis Corporation Providing a rating for digital media based on reviews and customer behavior
US20070271202A1 (en) * 2006-05-08 2007-11-22 Corbis Corporation Determining content pricing for categories of use based on extrinsic and intrinsic factors
US9639618B2 (en) 2006-05-25 2017-05-02 International Business Machines Corporation System, method and program product for key word searching where a key word is a homonym
US7769776B2 (en) * 2006-06-16 2010-08-03 Sybase, Inc. System and methodology providing improved information retrieval
US20080033953A1 (en) * 2006-08-07 2008-02-07 International Business Machines Corporation Method to search transactional web pages
US7933765B2 (en) * 2007-01-25 2011-04-26 Corbis Corporation Cross-lingual information retrieval
EP1978451A1 (en) 2007-04-02 2008-10-08 Wayfinder Systems AB Apparatus and method for searching among and presenting information associated with geographical position data
US8577877B2 (en) * 2007-04-02 2013-11-05 Vodafone Ip Licensing Limited Apparatus and method for searching among and presenting information associated with geographical position data
CN101281522B (en) * 2007-04-06 2010-11-03 阿里巴巴集团控股有限公司 Method and system for processing related key words
CN101286150B (en) * 2007-04-10 2010-09-15 阿里巴巴集团控股有限公司 Method and device for creating updated parameter, method and device for displaying relevant key words
US8631440B2 (en) * 2007-04-30 2014-01-14 Google Inc. Program guide user interface
US8484192B1 (en) * 2007-04-30 2013-07-09 Google Inc. Media search broadening
US8005826B1 (en) 2007-04-30 2011-08-23 Google Inc. Identifying media content in queries
US8073828B2 (en) 2007-06-14 2011-12-06 Curbis Corporation Licensed rights clearance and tracking for digital assets
US20080319870A1 (en) * 2007-06-22 2008-12-25 Corbis Corporation Distributed media reviewing for conformance to criteria
WO2009021011A2 (en) * 2007-08-07 2009-02-12 Equifax, Inc. Systems and methods for managing statistical expressions
US8219494B1 (en) 2007-08-16 2012-07-10 Corbis Corporation End-to-end licensing of digital media assets
US20090055386A1 (en) * 2007-08-24 2009-02-26 Boss Gregory J System and Method for Enhanced In-Document Searching for Text Applications in a Data Processing System
US8341195B1 (en) 2007-10-04 2012-12-25 Corbis Corporation Platform for managing media assets for multi-model licensing over multi-level pricing and asset grouping
US20090254540A1 (en) * 2007-11-01 2009-10-08 Textdigger, Inc. Method and apparatus for automated tag generation for digital content
US9740735B2 (en) * 2007-11-07 2017-08-22 Microsoft Technology Licensing, Llc Programming language extensions in structured queries
US8463808B2 (en) * 2008-11-07 2013-06-11 Raytheon Company Expanding concept types in conceptual graphs
US8386489B2 (en) * 2008-11-07 2013-02-26 Raytheon Company Applying formal concept analysis to validate expanded concept types
US9158838B2 (en) * 2008-12-15 2015-10-13 Raytheon Company Determining query return referents for concept types in conceptual graphs
US8577924B2 (en) * 2008-12-15 2013-11-05 Raytheon Company Determining base attributes for terms
US9087293B2 (en) * 2008-12-23 2015-07-21 Raytheon Company Categorizing concept types of a conceptual graph
US8504582B2 (en) 2008-12-31 2013-08-06 Ebay, Inc. System and methods for unit of measurement conversion and search query expansion
US8380738B2 (en) * 2009-03-17 2013-02-19 Nec Laboratories America, Inc. System and methods for database distribution and querying over key-based scalable storage
US9245243B2 (en) * 2009-04-14 2016-01-26 Ureveal, Inc. Concept-based analysis of structured and unstructured data using concept inheritance
US20100293162A1 (en) * 2009-05-15 2010-11-18 Global Patent Solutions Automated Keyword Generation Method for Searching a Database
US20110040774A1 (en) * 2009-08-14 2011-02-17 Raytheon Company Searching Spoken Media According to Phonemes Derived From Expanded Concepts Expressed As Text
CN102012900B (en) * 2009-09-04 2013-01-30 阿里巴巴集团控股有限公司 An information retrieval method and system
US8386239B2 (en) * 2010-01-25 2013-02-26 Holovisions LLC Multi-stage text morphing
US8983990B2 (en) 2010-08-17 2015-03-17 International Business Machines Corporation Enforcing query policies over resource description framework data
US20120271844A1 (en) * 2011-04-20 2012-10-25 Microsoft Corporation Providng relevant information for a term in a user message
US8972240B2 (en) * 2011-05-19 2015-03-03 Microsoft Corporation User-modifiable word lattice display for editing documents and search queries
US20130031497A1 (en) * 2011-07-29 2013-01-31 Nokia Corporation Method and apparatus for enabling multi-parameter discovery and input
US9608958B2 (en) * 2013-03-12 2017-03-28 Oracle International Corporation Lightweight directory access protocol (LDAP) join search mechanism
US9858260B2 (en) 2014-04-01 2018-01-02 Drumright Group LLP System and method for analyzing items using lexicon analysis and filtering process
US20160171050A1 (en) * 2014-11-20 2016-06-16 Subrata Das Distributed Analytical Search Utilizing Semantic Analysis of Natural Language

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893087A (en) * 1995-03-28 1999-04-06 Dex Information Systems, Inc. Method and apparatus for improved information storage and retrieval system
US5933822A (en) * 1997-07-22 1999-08-03 Microsoft Corporation Apparatus and methods for an information retrieval system that employs natural language processing of search results to improve overall precision

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5671436A (en) * 1991-08-21 1997-09-23 Norand Corporation Versatile RF data capture system
JP2710188B2 (en) * 1991-10-03 1998-02-10 インターナショナル・ビジネス・マシーンズ・コーポレイション Method and data processing apparatus for generating interaction between data processing system and user
US5721900A (en) * 1992-07-20 1998-02-24 International Business Machines Corp Method and apparatus for graphically displaying query relationships
US5600831A (en) * 1994-02-28 1997-02-04 Lucent Technologies Inc. Apparatus and methods for retrieving information by modifying query plan based on description of information sources
US5617565A (en) * 1994-11-29 1997-04-01 Hitachi America, Ltd. Broadcast interactive multimedia system
US6023694A (en) * 1996-01-02 2000-02-08 Timeline, Inc. Data retrieval method and apparatus with multiple source capability
US5926811A (en) * 1996-03-15 1999-07-20 Lexis-Nexis Statistical thesaurus, method of forming same, and use thereof in query expansion in automated text searching
US5956711A (en) * 1997-01-16 1999-09-21 Walter J. Sullivan, III Database system with restricted keyword list and bi-directional keyword translation
EP1010100A1 (en) * 1997-01-24 2000-06-21 The Board Of Regents Of The University Of Washington Method and system for network information access
US5999940A (en) * 1997-05-28 1999-12-07 Home Information Services, Inc. Interactive information discovery tool and methodology
US6154213A (en) * 1997-05-30 2000-11-28 Rennison; Earl F. Immersive movement-based interaction with large complex information structures
GB2330221B (en) * 1997-10-09 2002-07-03 Ibm Optimisation of relational database queries
US5953718A (en) * 1997-11-12 1999-09-14 Oracle Corporation Research mode for a knowledge base search and retrieval system
US5987457A (en) * 1997-11-25 1999-11-16 Acceleration Software International Corporation Query refinement method for searching documents
US6028605A (en) * 1998-02-03 2000-02-22 Documentum, Inc. Multi-dimensional analysis of objects by manipulating discovered semantic properties
US6175829B1 (en) * 1998-04-22 2001-01-16 Nec Usa, Inc. Method and apparatus for facilitating query reformulation
US6006225A (en) * 1998-06-15 1999-12-21 Amazon.Com Refining search queries by the suggestion of correlated terms from prior searches
US6101492A (en) * 1998-07-02 2000-08-08 Lucent Technologies Inc. Methods and apparatus for information indexing and retrieval as well as query expansion using morpho-syntactic analysis
US6411950B1 (en) * 1998-11-30 2002-06-25 Compaq Information Technologies Group, Lp Dynamic query expansion

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5893087A (en) * 1995-03-28 1999-04-06 Dex Information Systems, Inc. Method and apparatus for improved information storage and retrieval system
US5933822A (en) * 1997-07-22 1999-08-03 Microsoft Corporation Apparatus and methods for an information retrieval system that employs natural language processing of search results to improve overall precision

Cited By (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1423804A4 (en) * 2001-08-10 2006-11-08 Datavine Res Services Method and apparatus for access, integration and analysis of heterogeneous data sources via the manipulation of metadata objects
EP1423804A1 (en) * 2001-08-10 2004-06-02 Datavine Research Services Method and apparatus for access, integration and analysis of heterogeneous data sources via the manipulation of metadata objects
US8171050B2 (en) 2001-08-10 2012-05-01 Datavine Research Services Method and apparatus for access, integration, and analysis of heterogeneous data sources via the manipulation of metadata objects
WO2003083720A3 (en) * 2002-04-03 2003-12-04 Biowisdom Ltd Database searching method and system
WO2003083720A2 (en) * 2002-04-03 2003-10-09 Biowisdom Limited Database searching method and system
GB2393541A (en) * 2002-09-27 2004-03-31 Hewlett Packard Development Co Method for management of synonymic searching
GB2417115A (en) * 2002-09-27 2006-02-15 Hewlett Packard Development Co Managing synonymic searching and ranking results
US7958129B2 (en) 2003-06-06 2011-06-07 Tieto Oyj Processing data records for finding counterparts in a reference data set
WO2004109546A1 (en) * 2003-06-06 2004-12-16 Tietoenator Oyj Processing data records for finding counterparts in a reference data set
WO2005096174A1 (en) * 2004-04-02 2005-10-13 Health Communication Network Limited Method, apparatus and computer program for searching multiple information sources
WO2006130521A1 (en) * 2005-06-02 2006-12-07 Marketinggenius.Com, Inc. Database query construction and handling
US7734722B2 (en) 2005-06-02 2010-06-08 Genius.Com Incorporated Deep clickflow tracking
US7984058B2 (en) 2005-06-02 2011-07-19 Genius.Com Incorporated Database query construction and handling
US8103690B2 (en) 2005-06-03 2012-01-24 Genius.Com Realtime database architecture
EP2237169A1 (en) * 2009-03-30 2010-10-06 BRITISH TELECOMMUNICATIONS public limited company Data searching system
WO2010112822A1 (en) * 2009-03-30 2010-10-07 British Telecommunications Public Limited Company Data searching system
EP2584482A1 (en) * 2011-10-19 2013-04-24 Business Objects Software Limited Answer-augmented query suggestion
US8577862B2 (en) 2011-10-19 2013-11-05 Business Objects Software Limited Answer-augmented query suggestion
US11017035B2 (en) 2013-07-17 2021-05-25 Thoughtspot, Inc. Token based dynamic data indexing with integrated security
US11599587B2 (en) 2013-07-17 2023-03-07 Thoughtspot, Inc. Token based dynamic data indexing with integrated security
CN105531706A (en) * 2013-07-17 2016-04-27 索特斯波特有限公司 Search engine for information retrieval system
US9405794B2 (en) 2013-07-17 2016-08-02 Thoughtspot, Inc. Information retrieval system
EP3719672A1 (en) * 2013-07-17 2020-10-07 Thoughtspot Inc. Search engine for information retrieval system
US11899638B2 (en) 2013-07-17 2024-02-13 Thoughtspot, Inc. Token based dynamic data indexing with integrated security
WO2015009353A1 (en) * 2013-07-17 2015-01-22 Thoughtspot, Inc. Search engine for information retrieval system
EP2966457A1 (en) * 2014-07-09 2016-01-13 Baidu Online Network Technology (Beijing) Co., Ltd Interactive searching method and apparatus
US10055453B2 (en) 2014-07-09 2018-08-21 Baidu Online Network Technology (Beijing) Co., Ltd. Interactive searching method and apparatus
RU2632134C2 (en) * 2015-12-28 2017-10-02 Общество С Ограниченной Ответственностью "Яндекс" Method and system of processing of search requests
US11734286B2 (en) 2017-10-10 2023-08-22 Thoughtspot, Inc. Automatic database insight analysis
US11157564B2 (en) 2018-03-02 2021-10-26 Thoughtspot, Inc. Natural language question answering systems
US11790006B2 (en) 2018-03-02 2023-10-17 Thoughtspot, Inc. Natural language question answering systems
US11176199B2 (en) 2018-04-02 2021-11-16 Thoughtspot, Inc. Query generation based on a logical data model
US11023486B2 (en) 2018-11-13 2021-06-01 Thoughtspot, Inc. Low-latency predictive database analysis
US11620306B2 (en) 2018-11-13 2023-04-04 Thoughtspot, Inc. Low-latency predictive database analysis
US11941034B2 (en) 2018-11-13 2024-03-26 Thoughtspot, Inc. Conversational database analysis
US11544239B2 (en) 2018-11-13 2023-01-03 Thoughtspot, Inc. Low-latency database analysis using external data sources
US11580147B2 (en) 2018-11-13 2023-02-14 Thoughtspot, Inc. Conversational database analysis
US11416477B2 (en) 2018-11-14 2022-08-16 Thoughtspot, Inc. Systems and methods for database analysis
US11334548B2 (en) 2019-01-31 2022-05-17 Thoughtspot, Inc. Index sharding
US11928114B2 (en) 2019-04-23 2024-03-12 Thoughtspot, Inc. Query generation based on a logical data model with one-to-one joins
US11442932B2 (en) 2019-07-16 2022-09-13 Thoughtspot, Inc. Mapping natural language to queries using a query grammar
US11556571B2 (en) 2019-07-29 2023-01-17 Thoughtspot, Inc. Phrase indexing
US11586620B2 (en) 2019-07-29 2023-02-21 Thoughtspot, Inc. Object scriptability
US11354326B2 (en) 2019-07-29 2022-06-07 Thoughtspot, Inc. Object indexing
US10970319B2 (en) 2019-07-29 2021-04-06 Thoughtspot, Inc. Phrase indexing
US11809468B2 (en) 2019-07-29 2023-11-07 Thoughtspot, Inc. Phrase indexing
US11803543B2 (en) 2019-07-31 2023-10-31 Thoughtspot, Inc. Lossless switching between search grammars
US11200227B1 (en) 2019-07-31 2021-12-14 Thoughtspot, Inc. Lossless switching between search grammars
US11409744B2 (en) 2019-08-01 2022-08-09 Thoughtspot, Inc. Query generation based on merger of subqueries
US11874842B2 (en) 2020-04-09 2024-01-16 Thoughtspot, Inc. Phrase translation for a low-latency database analysis system
US11544272B2 (en) 2020-04-09 2023-01-03 Thoughtspot, Inc. Phrase translation for a low-latency database analysis system
US11379495B2 (en) 2020-05-20 2022-07-05 Thoughtspot, Inc. Search guidance
US11768846B2 (en) 2020-05-20 2023-09-26 Thoughtspot, Inc. Search guidance
US11836136B2 (en) 2021-04-06 2023-12-05 Thoughtspot, Inc. Distributed pseudo-random subset generation
US11580111B2 (en) 2021-04-06 2023-02-14 Thoughtspot, Inc. Distributed pseudo-random subset generation

Also Published As

Publication number Publication date
AU2725401A (en) 2001-06-12
US6523028B1 (en) 2003-02-18

Similar Documents

Publication Publication Date Title
US6523028B1 (en) Method and system for universal querying of distributed databases
US6424358B1 (en) Method and system for importing database information
US20180060410A1 (en) System and method of applying globally unique identifiers to relate distributed data sources
US7885918B2 (en) Creating a taxonomy from business-oriented metadata content
US9037529B2 (en) Method for generating visual mapping of knowledge information from parsing of text inputs for subjects and predicates
EP1182581B1 (en) Searching tool and process for unified search using categories and keywords
US7136851B2 (en) Method and system for indexing and searching databases
US6243090B1 (en) FAQ-linker
Sinha et al. Magnet: Supporting navigation in semistructured data environments
US20020156779A1 (en) Internet search engine
EP2347354B1 (en) Retrieval using a generalized sentence collocation
US20080071751A1 (en) Method and apparatus for applying a parametric search methodology to a directory tree database format
US7240051B2 (en) Document search system using a meaning relation network
US20040030692A1 (en) Automatic search method
CA2599631A1 (en) Methods of and systems for searching by incorporating user-entered information
WO2006104951A1 (en) User interface for facts query engine with snippets from information sources that include query terms and answer terms
WO2001065410A2 (en) Search engine for spatial data indexing
Efthimiadis Online searching aids: a review of front ends, gateways and other interfaces
Wilton Beginning sql
Álvarez et al. A Task-specific Approach for Crawling the Deep Web.
Aruna Online public access catalogue
Stern New search and navigation techniques in the digital library
Agosti et al. Design of an OPAC database to permit different subject searching accesses in a multi-disciplines universities library catalogue database
KR100434718B1 (en) Method and system for indexing document
Vickery Intelligent interfaces to online databases

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP