System and method for connecting to a set of phrases joining multiple schemas
A system and method for connecting to a set of phrases joining multiple schemas is disclosed. A phrase identifying particular content corresponding to a particular schema is submitted by an affiliated data provider to a portal. The portal matches the phrase to a set identifying particular content corresponding to multiple schemas. The portal may match the phrase to the same set as another phrase identifying the particular content in the particular schema. The portal may match the phrase to a set in a particular group of sets identifying content across common schemas. The portal may match the phrase to a set in the same group as another phrase identifying content in the particular schema. The portal may match the phrase to a previously established set or to a newly established set.
Latest Microsoft Patents:
This invention relates in general to the field of information retrieval. More particularly, this invention relates to connecting to a set of phrases joining multiple schemas.
BACKGROUND OF THE INVENTIONInternet portals and search engines, such as MSN®, serve as gateways to Internet users by accumulating and categorizing information, and providing a wide array of services. A portal may perform a search based on a query entered by a visitor to the portal. In an existing method for performing a search, affiliated data providers submit data to be searched directly to the portal. The data may be imported into the portal's database management system. In this existing method, the portals may regularly receive data from hundreds of providers. Each data provider may submit a provider data file including multiple schemas.
In addition to a submitting multiple schemas, each data provider may submit corresponding files of phrases. A phrase is a word or words identifying specific content corresponding to a particular node in a schema. For example, a particular data provider may have data about flights departing from Chicago. The provider may have a flight schema with a departure node indicating the city from which a flight departs. “Chicago” may be content corresponding to the departure node. The content “Chicago” may be identified by the phrases “Chicago”, “Windy City”, and “Cook County”.
Another data provider may have data about limousine services available in New York City. The provider may have a limousine schema with a location node indicating the city in which the limousine service is available. “Chicago” may be content corresponding to the location node. The provider may submit a file of phrases identifying the content “Chicago.”
In existing methods for performing a search, words in a query are matched to phrases submitted by each individual data provider identifying particular content in a particular schema. The efficiency of a search is greatly improved if, rather than matching words in a query to phrases submitted by each provider, words in a query are matched to a single phrase identifying particular content across multiple provider schemas. Such a single phrase identifying content across multiple provider schemas may be referred to as a “synset.” Phrases from individual providers must be matched to the synset.
SUMMARY OF THE INVENTIONA system and method for connecting to a set of phrases joining multiple schemas is disclosed. A phrase identifying particular content corresponding to a particular schema is submitted by an affiliated data provider to a portal. The portal matches the phrase to a set identifying particular content corresponding to multiple schemas.
The portal may match the phrase to the same set as another phrase identifying the particular content in the particular schema. The portal may match the phrase to a set in a particular group of sets identifying content across common schemas. The portal may match the phrase to a set in the same group as another phrase identifying content in the particular schema. The portal may match the phrase to a previously established set or to a newly established set.
In one embodiment of the invention, the portal receives from a first affiliated data provider a first schema including multiple nodes. The portal receives from a second affiliated data provider a second schema including multiple nodes. At query time, the portal joins a node in the first schema to a node in the second schema whereby a phrase identifying particular content corresponding to the node in the first schema also identifies particular content corresponding to the node in the second schema.
The foregoing summary, as well as the following detailed description of preferred embodiments, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the invention, there is shown in the drawings exemplary constructions of the invention; however, the invention is not limited to the specific methods and instrumentalities disclosed. In the drawings:
A system and method for connecting to a set of phrases joining multiple schemas is described below with reference to the aforementioned drawings. Those skilled in the art will readily appreciate that the description given herein with respect to those drawings is for explanatory purposes only and is not intended in any way to limit the scope of the invention to the specific embodiments shown. Throughout the description, like reference numerals are employed to refer to like elements in the respective figures.
Exemplary Computing Environment
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network or other data transmission medium. In a distributed computing environment, program modules and other data may be located in both local and remote computer storage media including memory storage devices.
With reference to
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and non-volatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or non-volatile memory such as ROM 131 and RAM 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/non-volatile computer storage media. By way of example only,
The drives and their associated computer storage media, discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
System and Method of the Present Invention
A flowchart for a method for connecting to a set of phrases joining multiple schemas in accordance with the present invention is shown in
At step 212, the portal receives from the affiliated data provider a file of phrases. A phrase is a word or words identifying specific content corresponding to a particular node in a schema. An exemplary phrase file is shown below:
At step 214, phrases are matched to synsets. For example, a portal may have synset groups “City” and “Band” with synsets as shown below:
- CITY: {Chicago, Windy City} {Paris, City of Light} {Seattle}
- BAND: {Chicago} {Paris} {Timbuktu}
Note that Chicago and Paris are present in both the “City” synset group and the “Band” synset group because Chicago and Paris are both names of cities and names of musical artists.
When the portal matches the phrase “Chicago” from the exemplary phrase file to a synset, it is ambiguous whether the phrase should be matched to the phrase “Chicago” in the city synset group or the in the band synset group. However, when the portal matches the phrase “Windy City” from the exemplary phrase file to a synset, it is clear that phrase matches to the city synset group because the phrase windy city does not appear in the band sysnet group. After the portal matches the phrase “Windy City” to the city synset group, the portal may also match the phrase “Chicago” to the city synset group because the phrases “Chicago” and “Windy City” identify the same content. Such a match may be referred to as within sysnset resolution.
It is also unclear whether the phrase “Paris” in the exemplary schema should be matched to the city synset group or the band synset group. However, the phrase “Paris” corresponds to the same template as the phrases “Chicago” and “Windy City” which are matched to the city synset group. Thus, the phrase “Paris” may also be matched to the city synset group. Such a match may be referred to as cross synset resolution.
As should be appreciated, the phrase “Seattle” in the exemplary schema is matched to the city synset group. Like the phrase “Windy City”, the phrase “Seattle” appears only in the city synset group and causes the other phrases appearing in both synset groups to be matched to the city synset group.
Finally, the phrase “Timbuktu” in the exemplary schema appears only in the band synset group. However, because the majority of the phrases corresponding to the node are matched with the city synset group, the phrase “Timbuktu” is matched to a newly established synset in the city synset group.
A flowchart of a method for joining multiple schemas in accordance with the present invention is shown in
As shown in
“Hotel” schema 400a of
At step 314, at query time, a node in the first schema is joined to a node in the second schema. An exemplary diagram of joined nodes is shown in
In XML schemas, nodes may be joined by associating the XPaths corresponding to the nodes. For example, “City” node 412 of
/hotel[city=$ 1]
/restaurant[city=$ 1]
Possible connections are described at the schema level, but actual connections happen at the individual synset level and are not associated with groups. For example, XPaths may be used to join as shown below, with “$'s” representing placeholders for a particular synset:
/flight[origin=$1 and destination=$2]
/yellowpages[category=‘Limousine’ and city=$ 1]
/rentalcar[pickup=$2]
As shown above, the flight origin city is joined with the yellow page city for the “Limousine” category and the flight destination city is joined with the rental car pickup city. In the above example, flight origin cities are distinguished from flight destination cities.
As should be appreciated, there may be certain cities for which there is no data corresponding to flights, yellow pages, or rental cars. For example, there may be data for flights originating in Timbuktu, but there may not be data for yellow pages in Timbuktu. In response to a query, “Flights from Timbuktu”, a portal will retrieve data corresponding to flights from Timbuktu. However, because there is no data corresponding to yellow pages in Timbuktu, no such data will be retrieved.
All nodes joined to a synset may be accessed in response to a query by simply matching a word in the query to the synset. Thus, sysnsets enable data from multiple providers to be accessed quickly and efficiently.
While the present invention has been described in connection with the preferred embodiments of the various FIGS., it is to be understood that other similar embodiments may be used or modifications and additions may be made to the described embodiment for performing the same function of the present invention without deviating therefrom. For example, one skilled in the art will recognize that the present invention as described in the present application may apply to any computing device or environment, whether wired or wireless, and may be applied to any number of such computing devices connected via a communications network, and interacting across the network. Furthermore, it should be emphasized that a variety of computer platforms, including handheld device operating systems and other application specific operating systems are contemplated, especially as the number of wireless networked devices continues to proliferate. Still further, the present invention may be implemented in or across a plurality of processing chips or devices, and storage may similarly be effected across a plurality of devices. Therefore, the present invention should not be limited to any single embodiment, but rather should be construed in breadth and scope in accordance with the appended claims.
Claims
1. A computer-implemented method for connecting a phrase that matches multiple sets to a single set, comprising:
- receiving a first phrase and a second phrase both referring to identical content;
- matching the first phrase to a first matching phrase, the first matching phrase being within a first set;
- connecting the first phrase to the first set which identifies content across multiple schemas;
- determining that the first phrase does not match any of one or more phrases within a second set;
- differentiating the first phrase from the second set;
- matching the second phrase to a second matching phrase and a third matching phrase, the second matching phrase being within the first set, the third matching phrase being within a second set;
- connecting the second phrase to the first set based on a determination the second phrase refers to the identical content as the first phrase and the first phrase has been connected to the first set; and
- differentiating the second phrase from the second set based on a determination the second phrase refers to the identical content as the first phrase and the first phrase has been differentiated from the second set.
2. The method of claim 1, comprising receiving the first phrase and the second phrase from an affiliated data provider.
3. A system for connecting a phrase that matches multiple sets to a single set, comprising:
- a processor operative to execute computer executable instructions; and
- a memory having stored therein computer executable instructions for performing the following steps: receiving a first phrase and a second phrase both referring to identical content; matching the first phrase to a first matching phrase, the first matching phrase being within a first set; connecting the first phrase to the first set which identifies content across multiple schemas; determining that the first phrase does not match any of one or more phrases within a second set; differentiating the first phrase from the second set; matching the second phrase to a second matching phrase and a third matching phrase, the second matching phrase being within the first set, the third matching phrase being within a second set; connecting the second phrase to the first set based on a determination the second phrase refers to the identical content as the first phrase and the first phrase has been connected to the first set; and differentiating the second phrase from the second set based on a determination the second phrase refers to the identical content as the first phrase and the first phrase has been differentiated from the second set.
4. The system of claim 3, comprising computer executable instructions for receiving the first phrase and the second phrase from an affiliated data provider.
5806066 | September 8, 1998 | Golshani et al. |
6684221 | January 27, 2004 | Rejndrup |
6718320 | April 6, 2004 | Subramanian et al. |
6785689 | August 31, 2004 | Daniel et al. |
20020188694 | December 12, 2002 | Yu |
20030217069 | November 20, 2003 | Fagin et al. |
Type: Grant
Filed: Jun 30, 2002
Date of Patent: May 9, 2006
Patent Publication Number: 20040002971
Assignee: Microsoft Corporation (Redmond, WA)
Inventors: Christopher Clayton McConnell (Redmond, WA), David Dawson (Seattle, WA)
Primary Examiner: Frantz Coby
Assistant Examiner: CamLinh Nguyen
Attorney: Woodcock Washburn LLP
Application Number: 10/184,775
International Classification: G06F 17/30 (20060101);