Location information retrieval method, system and terminal based on triple semantic structure

By constructing an address map with a triplet semantic structure, the problem of ignoring spatial relationships in address retrieval in the existing technology is solved, and the accuracy of address retrieval and the convenience of database maintenance are improved.

CN118245518BActive Publication Date: 2024-09-13SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410658309.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-13
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Existing address retrieval methods ignore a large amount of spatial relationship description information in address data, resulting in low accuracy of search results obtained by users when performing address retrieval.

Method used

The location information retrieval method based on the semantic structure of triples is used to segment the address by obtaining the place name address data set, construct administrative divisions, triples and spatial relationship triples, form a complete address map, and analyze the user input to be entered. Search address to retrieve.

Benefits of technology

It improves the accuracy of address retrieval, can express and utilize geographical entities and spatial relationships more objectively, simplifies subsequent maintenance and queries, and provides a new reference for address database creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245518B
    Figure CN118245518B
Patent Text Reader

Abstract

The present invention discloses a location information retrieval method, system and terminal based on a triple semantic structure, the method comprising: obtaining a place name and address data set, performing an address segmentation operation on the place name and address data set, obtaining multiple geographical entities corresponding to each detailed address in the place name and address data set and a geographical tag corresponding to each of the geographical entities; performing a triple construction operation based on all geographical tags and all geographical entities, obtaining multiple administrative division triples, multiple local area triples and multiple spatial relationship triples; constructing an administrative division backbone map based on all administrative division triples, and performing a supplementary operation on the administrative division backbone map based on all local area triples and all the spatial relationship triples, obtaining a complete address map; receiving an address to be searched input by a user, performing an address search operation on the address to be searched based on the complete address map, and obtaining an address search result. The present invention improves the accuracy of address retrieval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of address databases, and in particular to a location information retrieval method, system, terminal and computer-readable storage medium based on a triple semantic structure. Background Art

[0002] With the development of science and technology, map software has become indispensable in people's lives. People can use map software for addressing and navigation. In the study of addressing, due to the diverse naming methods and flexible expressions of Chinese addresses, there are great differences in the content and form input by the public when using address matching services, which ultimately makes it difficult to obtain the accurate target address.

[0003] In recent years, most of the research on address matching has been carried out from pure text processing methods such as text address segmentation (address resolution) and string semantic similarity measurement. There is a lack of address retrieval and address matching methods based on address space semantic models. In other words, the existing address retrieval method based on string matching ignores the large amount of spatial relationship description information in the address data.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a location information retrieval method, system, terminal and computer-readable storage medium based on a triple semantic structure, aiming to solve the problem that the address retrieval method in the prior art ignores the large amount of spatial relationship description information in the address data, and it is difficult to utilize and express the topological relationship implicit in the address data, resulting in low accuracy of the retrieval results obtained by users when performing address retrieval.

[0006] To achieve the above object, the present invention provides a location information retrieval method based on a triple semantic structure, the location information retrieval method based on a triple semantic structure comprising the following steps:

[0007] Acquire a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity;

[0008] Performing a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples, and a plurality of spatial relationship triples;

[0009] Constructing an administrative division backbone map according to all the administrative division triplets, and performing supplementary operations on the administrative division backbone map according to all the local area triplets and all the spatial relationship triplets to obtain a complete address map;

[0010] An address to be searched input by a user is received, and an address search operation is performed on the address to be searched according to the complete address map to obtain an address search result.

[0011] Optionally, the location information retrieval method based on triple semantic structure, wherein the step of acquiring a place name and address data set, performing an address segmentation operation on the place name and address data set, and obtaining a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each of the geographical entities, specifically includes:

[0012] Receiving a place name and address data set input by a user, wherein the place name and address data set includes a plurality of place names and a detailed address corresponding to each place name;

[0013] Performing an address segmentation operation on each of the detailed addresses to obtain a plurality of geographic entities corresponding to each of the detailed addresses;

[0014] All the geographic entities are analyzed according to a preset geographic entity label table to obtain a geographic label corresponding to each of the geographic entities.

[0015] Optionally, the location information retrieval method based on triple semantic structure, wherein the triple construction operation is performed based on all the geographic tags and all the geographic entities to obtain multiple administrative division triples, multiple local area triples and multiple spatial relationship triples, specifically includes:

[0016] Respectively obtain the previous geographic entity of each geographic entity in each of the detailed addresses and use it as the parent geographic entity corresponding to each of the geographic entities;

[0017] Judging the entity relationship between each of the geographic entities and the corresponding parent geographic entity according to the geographic tag of each of the geographic entities and the geographic tag of the corresponding parent geographic entity, to obtain the entity relationship corresponding to each of the geographic entities;

[0018] Taking each of the parent geographic entities as the first element of a triple, taking the entity relationship corresponding to each of the parent geographic entities as the second element of the triple, and taking the geographic entity corresponding to each of the parent geographic entities as the third element of the triple, so as to construct a plurality of address triples;

[0019] Classifying the address triples to obtain a plurality of administrative division triples and a plurality of local area triples;

[0020] All the detailed addresses are judged, and if there is a spatial tag in the detailed address, a spatial relationship triple is constructed according to the spatial tag and the place name corresponding to the detailed address to obtain a plurality of spatial relationship triples.

[0021] Optionally, the location information retrieval method based on triple semantic structure, wherein the step of judging all the detailed addresses and, if a spatial tag exists in the detailed address, constructing a spatial relationship triple according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples, specifically includes:

[0022] All the detailed addresses are judged according to a preset space label table, and the detailed addresses containing the space labels are retained as the space detailed addresses;

[0023] Based on each of the spatial detailed addresses, obtain the previous geographic entity of each spatial tag and use it as the spatial geographic entity;

[0024] Obtain the place name corresponding to each of the spatial detailed addresses, take each of the spatial geographic entities as the first element of a triple, take each of the spatial labels as the second element of a triple, and take each of the place names as the third element of a triple, so as to construct a plurality of spatial relationship triples.

[0025] Optionally, the location information retrieval method based on triple semantic structure, wherein the step of constructing an administrative division backbone map according to all the administrative division triples specifically includes:

[0026] Create multiple graph nodes according to the first elements and the third elements of all the administrative division triples;

[0027] Creating a graph node relationship corresponding to each graph node according to the second elements of all the administrative division triples;

[0028] An administrative division backbone graph is constructed based on all the graph nodes and all the graph node relationships.

[0029] Optionally, the location information retrieval method based on triple semantic structure, wherein the supplementary operation on the administrative division backbone map is performed according to all the local area triples and all the spatial relationship triples to obtain a complete address map, specifically comprising:

[0030] Performing a supplement operation on the administrative division backbone map according to all the local area triples to obtain a first address map;

[0031] Performing a supplement operation on the first address map according to all the spatial relationship triplets to obtain a second address map;

[0032] All graph nodes in the second address map are screened and merged to obtain a complete address map.

[0033] Optionally, the location information retrieval method based on triple semantic structure, wherein the receiving of the address to be searched input by the user, performing an address search operation on the address to be searched according to the complete address map to obtain the address search result, specifically includes:

[0034] Receiving an address to be searched input by a user, performing an address segmentation operation on the address to be searched, and obtaining a plurality of geographical entities to be searched corresponding to the address to be searched;

[0035] According to the complete address map, all the geographic entities to be searched are queried respectively, and the geographic entities to be searched existing in the complete address map are taken as accurate nodes, and the geographic entities to be searched not existing in the complete address map are taken as nodes to be searched;

[0036] Perform fuzzy query on all the nodes to be searched respectively to obtain a fuzzy node set corresponding to each node to be searched;

[0037] Acquire multiple candidate nodes corresponding to each of the nodes to be searched according to the fuzzy node set;

[0038] Combining all the accurate nodes with each of the candidate nodes respectively to obtain multiple candidate address combinations;

[0039] According to the complete address map, all the candidate address combinations are respectively checked, and the candidate address combinations existing in the complete address map are retained to obtain a plurality of pending address combinations;

[0040] The character similarity between each of the pending address combinations and the address to be searched is calculated, and a preset number of pending address combinations are selected and integrated according to all the character similarities to obtain an address search result.

[0041] In addition, to achieve the above-mentioned purpose, the present invention further provides a location information retrieval system based on triple semantic structure, wherein the location information retrieval system based on triple semantic structure comprises:

[0042] An address segmentation module is used to obtain a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity;

[0043] A triple construction module, used for performing a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples and a plurality of spatial relationship triples;

[0044] A map construction module, used for constructing an administrative division backbone map according to all the administrative division triples, and performing a supplementary operation on the administrative division backbone map according to all the local area triples and all the spatial relationship triples to obtain a complete address map;

[0045] The address search module is used to receive the address to be searched input by the user, perform an address search operation on the address to be searched according to the complete address map, and obtain an address search result.

[0046] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a location information retrieval program based on a triple semantic structure stored in the memory and executable on the processor, wherein the location information retrieval program based on a triple semantic structure implements the steps of the location information retrieval method based on a triple semantic structure as described above when the location information retrieval program based on a triple semantic structure is executed by the processor.

[0047] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a location information retrieval program based on a triple semantic structure, and when the location information retrieval program based on a triple semantic structure is executed by a processor, the steps of the location information retrieval method based on a triple semantic structure as described above are implemented.

[0048] In the present invention, a place name and address data set is obtained, and an address segmentation operation is performed on the place name and address data set to obtain multiple geographic entities corresponding to each detailed address in the place name and address data set and a geographic label corresponding to each geographic entity; a triple construction operation is performed based on all the geographic labels and all the geographic entities to obtain multiple administrative division triples, multiple local area triples and multiple spatial relationship triples; an administrative division backbone map is constructed based on all the administrative division triples, and a supplementary operation is performed on the administrative division backbone map based on all the local area triples and all the spatial relationship triples to obtain a complete address map; an address to be searched input by a user is received, and an address retrieval operation is performed on the address to be searched based on the complete address map to obtain an address retrieval result; the present invention starts from a new perspective and utilizes the flexible and changeable characteristics of a graph database to form a set of methods for constructing geographic entities and spatial relationships, which not only expresses spatial relationships more objectively, but also makes subsequent maintenance and query more convenient, provides a new reference for the creation of an address database, and improves the accuracy of address retrieval. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of a preferred embodiment of the location information retrieval method based on triple semantic structure of the present invention;

[0050] Figure 2It is a detailed flow chart of a preferred embodiment of the location information retrieval method based on triple semantic structure of the present invention;

[0051] Figure 3 It is a screening and merging process flow chart of a preferred embodiment of the location information retrieval method based on triple semantic structure of the present invention;

[0052] Figure 4 It is an address retrieval flow chart of a preferred embodiment of the location information retrieval method based on triple semantic structure of the present invention;

[0053] Figure 5 It is a schematic diagram of the principle of a preferred embodiment of the location information retrieval system based on triple semantic structure of the present invention;

[0054] Figure 6 Schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0056] The location information retrieval method based on triple semantic structure described in the preferred embodiment of the present invention is as follows: Figure 1 and Figure 2 As shown, the location information retrieval method based on triple semantic structure includes the following steps:

[0057] Step S10: Acquire a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographic entities corresponding to each detailed address in the place name and address data set and a geographic label corresponding to each of the geographic entities.

[0058] Specifically, in a preferred embodiment of the present invention, the place name and address data set is a data set composed of place name and address data, including multiple place names and detailed addresses corresponding to each place name, for example: [XX University: No. D, C Street, District B, City A], XX University is the place name, and No. D, C Street, District B, City A is the detailed address; therefore, the relationship between the addresses in the place name and address data set at this time has not been structured and mined, and it is necessary to perform address segmentation operations on the place name and address data set to obtain multiple geographic entities corresponding to each detailed address, as well as a label corresponding to each geographic entity.

[0059] Further, the acquiring of the place name and address data set, performing an address segmentation operation on the place name and address data set, and obtaining a plurality of geographic entities corresponding to each detailed address in the place name and address data set and a geographic label corresponding to each geographic entity, specifically includes:

[0060] Receive a place name and address data set input by a user, wherein the place name and address data set includes multiple place names and detailed addresses corresponding to each place name; perform an address segmentation operation on each of the detailed addresses to obtain multiple geographic entities corresponding to each of the detailed addresses; analyze all of the geographic entities according to a preset geographic entity label table to obtain a geographic label corresponding to each of the geographic entities.

[0061] Specifically, firstly, a place name and address data set input by a user is received. The place name and address data set can be obtained from various public platforms or can be obtained by statistics of the user; then, an address model (in a preferred embodiment of the present invention, a Mgeo model (an address processing model) is used) is used to perform an address segmentation operation on each detailed address in the place name and address data set, such as Figure 2 As shown, the address can be segmented by using the pre-acquired national administrative division text data to obtain multiple geographic entities corresponding to each detailed address, wherein a geographic entity refers to a geographic unit that can appear independently in a geographic space.

[0062] As an example, by segmenting the place name address data [XX University: City A, District B, Street C, No. D], we can obtain four geographical entities: "City A", "District B", "Street C" and "No. D".

[0063] The preset geographic entity label table is shown in Table 1:

[0064] Table 1: Preset geographic entity label table

[0065]

[0066] By analyzing all geographic entities according to Table 1 above, the geographic label corresponding to each geographic entity can be obtained; for example, the geographic label corresponding to the geographic entity "City A" in [XX University: District B, Street C, No. D] is "city", the geographic label corresponding to District B is "district", the geographic label corresponding to Street C is "town", and the geographic label corresponding to No. D is "roadno".

[0067] It should be emphasized that since the format of the place name and address data in the place name and address dataset is not uniform, there may be place name and address data such as [XX University: XX University, No. D, Street C, District B, City A] in which the place name is filled in the detailed address. Therefore, before starting processing, the place name and address dataset needs to be preprocessed to delete the place name in the place name and address dataset and only retain the actual address part so that the place name does not appear in the detailed address.

[0068] Step S20: Perform a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples and a plurality of spatial relationship triples.

[0069] Specifically, after obtaining multiple geographic entities corresponding to each detailed address in the place name and address dataset and the geographic tags corresponding to each geographic entity, the information triples of each detailed address will be constructed respectively, so as to obtain multiple administrative division triplets and multiple local area triplets for each detailed address. Some detailed addresses have spatial relationships, so these detailed addresses with spatial relationships will also have corresponding spatial relationship triplets. After processing all detailed addresses, multiple administrative division triplets, multiple local area triplets and multiple spatial relationship triplets corresponding to the place name and address dataset will be obtained.

[0070] Furthermore, the triple construction operation is performed based on all the geographic tags and all the geographic entities to obtain multiple administrative division triples, multiple local area triples and multiple spatial relationship triples, specifically including:

[0071] The preceding geographic entity of each geographic entity in each of the detailed addresses is obtained respectively, and used as the parent geographic entity corresponding to each of the geographic entities; the entity relationship between each of the geographic entities and the corresponding parent geographic entity is judged according to the geographic tag of each of the geographic entities and the geographic tag of the corresponding parent geographic entity, so as to obtain the entity relationship corresponding to each of the geographic entities; each of the parent geographic entities is taken as the first element of a triple, the entity relationship corresponding to each of the parent geographic entities is taken as the second element of the triple, and the geographic entity corresponding to each of the parent geographic entities is taken as the third element of the triple, so as to construct a plurality of address triples; the address triples are classified to obtain a plurality of administrative division triples and a plurality of local area triples; all the detailed addresses are judged, and if there is a spatial tag in the detailed address, a spatial relationship triple is constructed according to the spatial tag and the place name corresponding to the detailed address, so as to obtain a plurality of spatial relationship triples.

[0072] Specifically, the preferred embodiment of the present invention constructs corresponding triples based on each detailed address, so each detailed address will be processed separately; taking the place name address data [XX University: No. D, Building E, Street C, District B, City A] as an example for auxiliary explanation, the geographical entities corresponding to this place name address data are ["City A", "District B", "Street C", "No. D", "Building E"], so first obtain the previous geographical entity of "City A" (that is, the first geographical entity on the left / superior), since "City A" is the foremost geographical entity, it is impossible to obtain the previous geographical entity of "City A", so instead obtain the previous geographical entity of "District B", which is "City A", take "City A" as the parent geographical entity of "District B", and judge the entity relationship between "City A" and "District B" according to the geographical labels "city" (municipal level) and "district" (district level) corresponding to "City A" and "District B" respectively. The entity relationship is specifically shown in Table 2:

[0073] Table 2: Entity Relationship Table

[0074]

[0075] Thus, it can be judged that the entity relationship between "City A" and "District B" is jurisdiction in the management relationship, that is, "City A" governs "District B". Finally, construct a triple according to "City A", "District B" and "governs", take the parent geographical entity "City A" as the first element of the triple, take "governs" as the second element of the triple, and take "District B" as the third element of the triple, thus constructing the address triple <City A, governs, District B>; traverse the entire place name address data, and all the remaining address triples can be obtained, such as: <District B, governs, Street C>, <Street C, governs, No. D>, <No. D, governs, Building E>; next, all address triples need to be classified. In the preferred embodiment of the present invention, the address triples are classified according to the geographical label types of the first element and the third element of the address triples. The present invention classifies geographical labels into administrative division feature labels and local area feature labels, as specifically shown in Table 3:

[0076] Table 3: Geographical Label Types

[0077]

[0078] According to Table 3, if both the first and third elements in the address triple belong to the administrative division feature tags, then this address triple is classified as an administrative division triple; if one or more of the first and third elements in the address triple belong to the local area feature tags, then this address triple is classified as a local area triple. As an example, among the above address triples, <City A, jurisdiction, District B> and <District B, jurisdiction, Street C> belong to the administrative division triples, and <Street C, jurisdiction, No. D> and <No. D, jurisdiction, Building E> belong to the local area triples.

[0079] It should be noted that due to different expressions, the place name address data in the place name address dataset will have detailed addresses with spatial tags, such as: [XX Village: 100 meters near Subway Station D, Street C, District B, City A]. And since the geographical entities obtained by splitting this place name address data do not contain the spatial tag "100 meters near", when constructing the triples of this detailed address, it is necessary to consider the expression of spatial relationships. In the preferred embodiment of the present invention, the spatial relationships are specifically shown in Table 4:

[0080] Table 4: Spatial Relationship Table

[0081]

[0082] Judge the detailed address according to the relationship types in Table 4 to determine whether there is a spatial tag in the detailed address. If so, such as [XX Village: 100 meters near Subway Station D, Street C, District B, City A], then construct a spatial relationship triple based on the place name "XX Village" and the spatial tag "100 meters near". After judging whether there is a spatial relationship for all detailed addresses and constructing the spatial relationship triples accordingly, multiple spatial relationship triples are obtained.

[0083] Furthermore, the step of judging all the detailed addresses, if there is a spatial tag in the detailed address, then constructing a spatial relationship triple according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples specifically includes:

[0084] Judge all the detailed addresses according to the preset spatial tag table, retain the detailed addresses containing spatial tags and use them as spatial detailed addresses; based on each spatial detailed address, obtain the previous geographical entity of each spatial tag and use it as the spatial geographical entity; obtain the place name corresponding to each spatial detailed address, respectively use each spatial geographical entity as the first element of the triple, use each spatial tag as the second element of the triple, and use each place name as the third element of the triple to construct multiple spatial relationship triples.

[0085] Specifically, taking [XX Village: 100 meters near D Subway Station, C Street, B District, A City] as an example, when it is determined that there is a spatial tag "100 meters near" in this geographical name and address data, the detailed address in this geographical name and address data is used as the spatial detailed address; then the geographical entity before the spatial tag in this spatial detailed address is obtained, that is, "D Subway Station", and "D Subway Station" is used as the spatial geographical entity; then the spatial geographical entity "D Subway Station" is used as the first element of the triple, the spatial tag "100 meters near" is used as the second element of the triple, and the geographical name "XX Village" is used as the third element of the triple, thereby constructing a spatial relationship triple <XX Village, 100 meters near, D Subway Station>.

[0086] Step S30: Construct an administrative division backbone graph based on all the administrative division triples, and perform a supplementary operation on the administrative division backbone graph according to all the local area triples and all the spatial relationship triples to obtain a complete address map.

[0087] Specifically, in the preferred embodiment of the present invention, all administrative division triples will be traversed first to construct an administrative division backbone graph, and then, based on the administrative division backbone graph, all local area triples and spatial relationship triples will be traversed. The administrative division backbone graph is diffused and supplemented through the local area triples and spatial relationship triples, and the relationships of the nodes in the graph are constructed, thereby obtaining the final complete address map.

[0088] Further, the constructing an administrative division backbone graph according to all the administrative division triples specifically includes:

[0089] Create multiple graph nodes according to the first element and the third element of all the administrative division triples; create graph node relationships corresponding to each graph node according to the second element of all the administrative division triples; construct an administrative division backbone graph according to all the graph nodes and all the graph node relationships.

[0090] Specifically, since the first element and the third element of the administrative division triple are both administrative division feature tags, within a single administrative region, the geographical entities corresponding to the first element and the third element of the administrative division triple are unique and there will be no duplicate objects. For example, a district has a unique name within a city; while there are local area feature tags in the local area triples, and the local feature area tags are tags that will have duplicate geographical entities, but have the characteristic of being uniquely non-repeating within a certain local range. For example, No. 366 of X Road. There can be multiple roads with No. 366 in a district, but taking X Road as the local area, No. 366 is the only geographical entity, and there will be no multiple No. 366 on X Road.

[0091] In a preferred embodiment of the present invention, the graph nodes are constructed in the order of the detailed addresses where the triples are located. For example, first, graph nodes are constructed for all administrative division triples corresponding to the first detailed address (and the order starts from the highest-level entity labels corresponding to the first element, such as provinces and cities, and gradually reaches the lowest level, such as roads), then graph nodes are constructed for the administrative division triples of the second detailed address, and so on until all administrative division triples are traversed; taking [XX University: No. D, Street C, District B, City A] and [XX Company: Floor H, No. G, Street C, District B, City A] as examples, first, the first element "City A" of <City A, governs, District B> is used as the parent node to construct a graph node, then "District B" is used as the child node of "City A" to create a graph node, and the second element "governs" is used as the graph node relationship between the parent node and the child node; when processing <District B, governs, Street C>, it will first query whether there is a graph node corresponding to the first element "District B" in the already created graph nodes. If so, this graph node is directly called as the parent node, a child node of "Street C" is created for it, and "governs" is used as the graph node relationship between the parent node and the child node. At this point, all administrative division triples corresponding to the detailed address of XX University have been traversed, and the traversal of all administrative division triples corresponding to the detailed address of XX Company begins. Similarly, a search is performed among all the already created graph nodes to determine whether there are the same graph nodes. If there are, they are directly called; if not, they are created; when all administrative divisions are traversed, an administrative division backbone graph is obtained. All graph nodes in the administrative division backbone graph are unique and non-repeating within this administrative region, and all graph node relationships in the graph are "governs" (in fact, it can also be "subordinate to", and only "governs" is used as an example in this embodiment).

[0092] Further, the operation of supplementing the administrative division backbone graph according to all the local area triples and all the spatial relationship triples to obtain a complete address map specifically includes:

[0093] Performing a supplementing operation on the administrative division backbone graph according to all the local area triples to obtain a first address map; performing a supplementing operation on the first address map according to all the spatial relationship triples to obtain a second address map; performing a screening and merging process on all the graph nodes in the second address map to obtain a complete address map.

[0094] Specifically, after creating the administrative division triples, the administrative division triples will be supplemented according to the local area triples, and here it is also traversed in the order of the detailed addresses corresponding to the traversal of the administrative division triples; as an example, the backbone map of the administrative division of XX University and XX Company has been constructed above, and the remaining local area triples corresponding to XX University are <C Street, jurisdiction, D No.>, and the local area triples corresponding to XX Company are <C Street, jurisdiction, G No.> and <G No., jurisdiction, H Building>. Therefore, the local area triples corresponding to XX University are traversed first. When traversing the local area triples, it is different from traversing the administrative division triples in that it searches whether there is a graph node corresponding to the first element of the triple among all the created graph nodes. Instead, taking the first element as the parent node, it queries whether there is a child node with the same third element under the first element. If not, it creates one; that is to say, when processing <C Street, jurisdiction, D No.>, first find the graph node corresponding to "C Street" (already created in the administrative division backbone map), and then query whether there is a child node of "D No." in "C Street". Here, since it has not been created yet, it does not exist, so a graph node corresponding to "D No." is created, and the graph relationship between the "C Street" graph node and the "D No." graph node is also "jurisdiction"; then traverse the local area triples corresponding to XX Company, first check whether there is a child node of "G No." in "C Street", and if not, create a "G No." child node. Similarly, a graph node of "H Building" can be created as a child node of the "G No." graph node; that is to say, in essence, it is to spread and supplement the administrative division backbone map (in the preferred embodiment of the present invention, a local graph optimization algorithm can be used), so as to avoid creating multiple identical local geographical entities and obtain the first address map; it should be noted that when creating the smallest geographical entity, such as "D No.", the place name XX University will be added as a supplementary explanation to the "D No." graph node, indicating that the address of A City, B District, C Street, D No. is XX University.

[0095] It should be emphasized that after the construction of the first address map, all geographical entities in the geographical name address dataset are already included in the first geological map. However, due to the existence of spatial relationship triples, such as <Village X, 100 meters southwest, Subway Station X> and <University XX, next to, Bus Stop XX>. At this time, the geographical entities corresponding to the first and third elements in the spatial relationship triples have been stored as graph nodes in the first address map when creating the first address map. Therefore, at this time, the spatial relationship triples are to supplement the spatial relationships of the graph nodes in the first address map, and the second element in the spatial relationship triples is used as the graph spatial relationship to be supplemented to the first address map. For example, "100 meters southwest" is used as the graph spatial relationship between the graph node of "Village X" and the graph node of "Subway Station X", which is actually to supplement the spatial relationship of local geographical entities and can more accurately represent the detailed location of a certain place; after processing all spatial relationship triples, the second address map is obtained.

[0096] Then, as Figure 3 shown, it is also necessary to perform screening and merging processing on the second address map. First, obtain the homonymous graph nodes with the same label type (that is, the corresponding geographical labels are the same) in the second address map (equivalent to Figure 3 the homonymous nodes with the same label), and then construct the maximum rectangles according to each homonymous graph node respectively, and calculate whether the distance between the center points of each maximum rectangle is less than a preset threshold (in the preferred embodiment of the present invention, the preset threshold can be 300 meters). If the distance between the maximum rectangles of two homonymous graph nodes is less than the preset threshold, it proves that these two homonymous graph nodes are actually the same node, merge these two homonymous graph nodes, delete the redundant homonymous nodes, and retain the relationships (for example, there is a relationship between node a and node c, and there is a relationship between node b and node d. If node a and node b are merged and node b is deleted, where there was originally a relationship between node b and node d, because node a and node b are the same node after merging, so the relationship becomes that there is a relationship between node a and node d, and this relationship is retained and not deleted). When the screening and merging processing of the second address map is completed, the complete address map is obtained;

[0097] Step S40: Receive the address to be searched input by the user, and perform an address retrieval operation on the address to be searched according to the complete address map to obtain an address retrieval result.

[0098] Specifically, in the preferred embodiment of the present invention, as Figure 2 shown, after the construction of the complete address map is completed, knowledge representation-driven address retrieval can be performed. The user can input the address to be searched that needs to be searched, and perform an address retrieval operation on the address to be searched according to the complete address map, so as to obtain the corresponding address retrieval result.

[0099] Further, the receiving of the address to be searched input by the user, performing an address search operation on the address to be searched according to the complete address map, and obtaining an address search result specifically includes:

[0100] Receive the address to be searched input by the user, perform address segmentation operation on the address to be searched, and obtain multiple geographic entities to be searched corresponding to the address to be searched; query all the geographic entities to be searched according to the complete address map, take the geographic entities to be searched existing in the complete address map as accurate nodes, and take the geographic entities to be searched not existing in the complete address map as nodes to be searched; perform fuzzy query on all the nodes to be searched respectively, and obtain a fuzzy node set corresponding to each node to be searched; obtain multiple candidate nodes corresponding to each node to be searched according to the fuzzy node set; combine all the accurate nodes with each candidate node respectively, and obtain multiple candidate address combinations; check all the candidate address combinations according to the complete address map, retain the candidate address combinations existing in the complete address map, and obtain multiple pending address combinations; calculate the character similarity between each pending address combination and the address to be searched, select a preset number of pending address combinations according to all the character similarities for integration, and obtain an address retrieval result.

[0101] Specifically, assuming that the address to be searched entered by the user is Village B, City A, it can be seen that the address to be searched is incomplete, so the final address search result is to complete the address to be searched to obtain a complete address; as an example, Figure 4 As shown, assuming that the text input by the user is xxxxx, each x represents a geographic entity, and the level corresponding to each geographic entity is gradually decreasing (for example, the first x is the province, the second x is the city, the third x is the district, the fourth x is the street, and the fifth x is the building number). After the address segmentation operation, five xs can be obtained, corresponding to the five geographic entities to be searched; then each entity to be searched is queried according to the complete address map. The query process is to query in the complete address map according to the graph node name and the corresponding geographic label under the previous node area to determine whether there is a graph node corresponding to the geographic entity to be searched. If the geographic entity to be searched exists in the complete address map, then this geographic entity to be searched is used as the accurate node, such as Figure 4As shown in the figure, the first three x are determined to be accurate nodes, and the last two x cannot be found in the complete address map, so they are used as nodes to be searched; then the previous node area of ​​the node to be searched is obtained respectively (that is, the parent nodes of the fourth x and the fifth x are obtained respectively), and then the fuzzy nodes belonging to the same geographic label as the fourth x and the fifth x are retrieved according to the two parent nodes respectively, so as to obtain the fuzzy node set (for example, if the fourth x is a street, then all streets under the district corresponding to the third x are searched, and the graph nodes of all streets are used as fuzzy nodes of the fourth x); then the character similarity between the geographic entity name of the fourth x and all fuzzy nodes in the corresponding fuzzy node set is calculated, and the character similarity between the geographic entity name of the fifth x and all fuzzy nodes in the corresponding fuzzy node set is calculated, and the top three fuzzy nodes with the corresponding character similarity are taken as candidate nodes corresponding to the fourth x and the fifth x respectively, that is, the fourth x and the fifth x have three candidate nodes.

[0102] Then, the accurate nodes obtained earlier (the first three x) are arranged and combined with the candidate nodes of the fourth x and the fifth x, such as Figure 4 As shown, for example, the candidate nodes corresponding to the fourth x are 1, 2 and 3, and the candidate nodes corresponding to the fifth x are a, b and c, then the accurate nodes and the candidate nodes are combined to obtain all possible node combinations, that is, multiple candidate address combinations, and then all candidate address combinations are tested to determine whether the path corresponding to each candidate address combination exists in the complete address map, and the candidate address combinations existing in the complete address map are retained as pending address combinations; finally, the character similarity between each pending address combination and the address to be searched is calculated, and the top three combinations with similar characters are retained as the final result.

[0103] It should be noted that the character similarity is calculated using cosine similarity. First, the entire place name and address data set is used as the input of the language model (in the preferred embodiment of the present invention, the word2vec language model, a model for producing word vectors, is used), so as to obtain the word vector file corresponding to the place name and address data set. When calculating the character similarity, the name of each geographic entity in the address to be searched is obtained, and the vector of each character of each geographic entity name in the address to be searched is obtained through the word vector file, and then they are combined separately to obtain the word vector representation corresponding to each geographic entity name; similarly, the word vector representation of each fuzzy node in the fuzzy node set and the word vector representation of each address combination to be determined are obtained, and finally the corresponding character similarity is calculated using the corresponding word vector representation as needed.

[0104] Furthermore, if Figure 5As shown, based on the above-mentioned location information retrieval method based on triple semantic structure, the present invention also provides a location information retrieval system based on triple semantic structure, wherein the location information retrieval system based on triple semantic structure includes:

[0105] An address segmentation module 51 is used to obtain a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity;

[0106] A triple construction module 52, configured to perform a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples and a plurality of spatial relationship triples;

[0107] A map construction module 53 is used to construct an administrative division backbone map according to all the administrative division triples, and to perform a supplementary operation on the administrative division backbone map according to all the local area triples and all the spatial relationship triples to obtain a complete address map;

[0108] The address search module 54 is used to receive the address to be searched input by the user, and perform an address search operation on the address to be searched according to the complete address map to obtain an address search result.

[0109] Furthermore, if Figure 6 As shown, based on the above-mentioned location information retrieval method and system based on triple semantic structure, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0110] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a location information retrieval program 40 based on a triple semantic structure is stored on the memory 20, and the location information retrieval program 40 based on a triple semantic structure can be executed by the processor 10, thereby realizing the location information retrieval method based on a triple semantic structure in the present application.

[0111] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the location information retrieval method based on the triple semantic structure.

[0112] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.

[0113] In one embodiment, when the processor 10 executes the location information retrieval program 40 based on the triple semantic structure in the memory 20, the steps of the location information retrieval method based on the triple semantic structure as described above are implemented:

[0114] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a location information retrieval program based on a triple semantic structure, and when the location information retrieval program based on a triple semantic structure is executed by a processor, the steps of the location information retrieval method based on a triple semantic structure as described above are implemented.

[0115] In summary, the present invention provides a location information retrieval method, system and terminal based on triple semantic structure, the method comprising: obtaining a place name and address data set, performing an address segmentation operation on the place name and address data set, obtaining multiple geographic entities corresponding to each detailed address in the place name and address data set and a geographic label corresponding to each geographic entity; performing a triple construction operation based on all the geographic labels and all the geographic entities, obtaining multiple administrative division triples, multiple local area triples and multiple spatial relationship triples; constructing an administrative division backbone map based on all the administrative division triples, and supplementing the administrative division backbone map based on all the local area triples and all the spatial relationship triples to obtain a complete address map; receiving an address to be searched input by a user, performing an address search operation on the address to be searched based on the complete address map, and obtaining an address search result; the present invention takes a new perspective and utilizes the flexible and changeable characteristics of the graph database to form a set of methods for constructing geographic entities and spatial relationships, which not only expresses spatial relationships more objectively, but also makes subsequent maintenance and query more convenient, provides a new reference for the creation of an address database, and improves the accuracy of address retrieval.

[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0117] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0118] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A location information retrieval method based on triple semantic structure, characterized in that: The location information retrieval method based on triple semantic structure includes: Acquire a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity; Performing a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples, and a plurality of spatial relationship triples; Constructing an administrative division backbone map according to all the administrative division triplets, and performing supplementary operations on the administrative division backbone map according to all the local area triplets and all the spatial relationship triplets to obtain a complete address map; Receiving an address to be searched input by a user, and performing an address search operation on the address to be searched according to the complete address map to obtain an address search result; The step of constructing an administrative division backbone graph based on all the administrative division triples specifically includes: Create multiple graph nodes according to the first element and the third element of all the administrative division triples; Creating a graph node relationship corresponding to each graph node according to the second elements of all the administrative division triples; Constructing an administrative division backbone graph according to all the graph nodes and all the graph node relationships; The supplementing operation on the administrative division backbone map according to all the local area triples and all the spatial relationship triples to obtain a complete address map specifically includes: According to all the local area triples, the detailed addresses corresponding to the administrative division backbone map are sequentially traversed, the first element is set as a parent node, and it is determined whether the parent node is a child node of the third element. If the parent node is not a child node of the third element, a graph node corresponding to the third element is created to obtain a first address map; Performing a supplement operation on the first address map according to all the spatial relationship triplets to obtain a second address map; Obtain the graph nodes with the same name of the second address map, construct according to the graph nodes with the same name to obtain multiple target rectangles, determine whether the distance of each target rectangle is less than a preset threshold, and if the distance of the target rectangle is less than the preset threshold, merge the graph nodes with the same name corresponding to the target rectangle to obtain a complete address map; The step of acquiring a place name and address data set and performing an address segmentation operation on the place name and address data set to obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity specifically includes: Receiving a place name and address data set input by a user, wherein the place name and address data set includes a plurality of place names and a detailed address corresponding to each place name; Performing an address segmentation operation on each of the detailed addresses to obtain a plurality of geographic entities corresponding to each of the detailed addresses; Analyze all the geographic entities according to a preset geographic entity label table to obtain a geographic label corresponding to each of the geographic entities; The triple construction operation is performed based on all the geographic tags and all the geographic entities to obtain multiple administrative division triples, multiple local area triples and multiple spatial relationship triples, specifically including: Respectively obtain the previous geographic entity of each geographic entity in each of the detailed addresses and use it as the parent geographic entity corresponding to each of the geographic entities; Judging the entity relationship between each of the geographic entities and the corresponding parent geographic entity according to the geographic tag of each of the geographic entities and the geographic tag of the corresponding parent geographic entity, to obtain the entity relationship corresponding to each of the geographic entities; Taking each of the parent geographic entities as the first element of a triple, taking the entity relationship corresponding to each of the parent geographic entities as the second element of the triple, and taking the geographic entity corresponding to each of the parent geographic entities as the third element of the triple, so as to construct a plurality of address triples; Classifying the address triples to obtain a plurality of administrative division triples and a plurality of local area triples; All the detailed addresses are judged, and if there is a spatial tag in the detailed address, a spatial relationship triple is constructed according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples; The step of judging all the detailed addresses and, if a spatial tag exists in the detailed address, constructing a spatial relationship triple according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples specifically includes: All the detailed addresses are judged according to a preset space label table, and the detailed addresses containing the space labels are retained as the space detailed addresses; Based on each of the spatial detailed addresses, obtain the previous geographic entity of each spatial tag and use it as the spatial geographic entity; Obtaining the place name corresponding to each of the spatial detailed addresses, taking each of the spatial geographic entities as the first element of a triple, taking each of the spatial labels as the second element of the triple, and taking each of the place names as the third element of the triple, so as to construct a plurality of spatial relationship triples; The receiving of the address to be searched input by the user, and performing an address search operation on the address to be searched according to the complete address map to obtain an address search result specifically includes: Receiving an address to be searched input by a user, performing an address segmentation operation on the address to be searched, and obtaining a plurality of geographical entities to be searched corresponding to the address to be searched; According to the complete address map, all the geographic entities to be searched are queried respectively, and the geographic entities to be searched existing in the complete address map are taken as accurate nodes, and the geographic entities to be searched not existing in the complete address map are taken as nodes to be searched; Perform fuzzy query on all the nodes to be searched respectively to obtain a fuzzy node set corresponding to each node to be searched; Acquire multiple candidate nodes corresponding to each of the nodes to be searched according to the fuzzy node set; Combining all the accurate nodes with each of the candidate nodes respectively to obtain multiple candidate address combinations; According to the complete address map, all the candidate address combinations are respectively checked, and the candidate address combinations existing in the complete address map are retained to obtain a plurality of pending address combinations; The character similarity between each of the pending address combinations and the address to be searched is calculated, and a preset number of pending address combinations are selected and integrated according to all the character similarities to obtain an address search result.

2. A location information retrieval system based on triple semantic structure, characterized in that: The location information retrieval system based on triple semantic structure includes: An address segmentation module is used to obtain a place name and address data set, perform an address segmentation operation on the place name and address data set, and obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity; The step of acquiring a place name and address data set and performing an address segmentation operation on the place name and address data set to obtain a plurality of geographical entities corresponding to each detailed address in the place name and address data set and a geographical label corresponding to each geographical entity specifically includes: Receiving a place name and address data set input by a user, wherein the place name and address data set includes a plurality of place names and a detailed address corresponding to each place name; Performing an address segmentation operation on each of the detailed addresses to obtain a plurality of geographic entities corresponding to each of the detailed addresses; Analyze all the geographic entities according to a preset geographic entity label table to obtain a geographic label corresponding to each of the geographic entities; A triple construction module, used for performing a triple construction operation based on all the geographic tags and all the geographic entities to obtain a plurality of administrative division triples, a plurality of local area triples and a plurality of spatial relationship triples; The triple construction operation is performed based on all the geographic tags and all the geographic entities to obtain multiple administrative division triples, multiple local area triples and multiple spatial relationship triples, specifically including: Respectively obtain the previous geographic entity of each geographic entity in each of the detailed addresses and use it as the parent geographic entity corresponding to each of the geographic entities; Judging the entity relationship between each of the geographic entities and the corresponding parent geographic entity according to the geographic tag of each of the geographic entities and the geographic tag of the corresponding parent geographic entity, to obtain the entity relationship corresponding to each of the geographic entities; Taking each of the parent geographic entities as the first element of a triple, taking the entity relationship corresponding to each of the parent geographic entities as the second element of the triple, and taking the geographic entity corresponding to each of the parent geographic entities as the third element of the triple, so as to construct a plurality of address triples; Classifying the address triples to obtain a plurality of administrative division triples and a plurality of local area triples; All the detailed addresses are judged, and if there is a spatial tag in the detailed address, a spatial relationship triple is constructed according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples; The step of judging all the detailed addresses and, if a spatial tag exists in the detailed address, constructing a spatial relationship triple according to the spatial tag and the place name corresponding to the detailed address to obtain multiple spatial relationship triples specifically includes: All the detailed addresses are judged according to a preset space label table, and the detailed addresses containing the space labels are retained as the space detailed addresses; Based on each of the spatial detailed addresses, obtain the previous geographic entity of each spatial tag and use it as the spatial geographic entity; Obtaining the place name corresponding to each of the spatial detailed addresses, taking each of the spatial geographic entities as the first element of a triple, taking each of the spatial labels as the second element of the triple, and taking each of the place names as the third element of the triple, so as to construct a plurality of spatial relationship triples; A map construction module, used for constructing an administrative division backbone map according to all the administrative division triples, and performing a supplementary operation on the administrative division backbone map according to all the local area triples and all the spatial relationship triples to obtain a complete address map; The step of constructing an administrative division backbone graph according to all the administrative division triples specifically includes: Create multiple graph nodes according to the first elements and the third elements of all the administrative division triples; Creating a graph node relationship corresponding to each graph node according to the second elements of all the administrative division triples; Constructing an administrative division backbone graph according to all the graph nodes and all the graph node relationships; The supplementing operation on the administrative division backbone map according to all the local area triples and all the spatial relationship triples to obtain a complete address map specifically includes: According to all the local area triples, the detailed addresses corresponding to the administrative division backbone map are sequentially traversed, the first element is set as a parent node, and it is determined whether the parent node is a child node of the third element. If the parent node is not a child node of the third element, a graph node corresponding to the third element is created to obtain a first address map; Performing a supplement operation on the first address map according to all the spatial relationship triplets to obtain a second address map; Obtain the graph nodes with the same name of the second address map, construct according to the graph nodes with the same name to obtain multiple target rectangles, determine whether the distance of each target rectangle is less than a preset threshold, and if the distance of the target rectangle is less than the preset threshold, merge the graph nodes with the same name corresponding to the target rectangle to obtain a complete address map; An address search module is used to receive an address to be searched input by a user, and perform an address search operation on the address to be searched according to the complete address map to obtain an address search result; The receiving of the address to be searched input by the user, and performing an address search operation on the address to be searched according to the complete address map to obtain an address search result specifically includes: Receiving an address to be searched input by a user, performing an address segmentation operation on the address to be searched, and obtaining a plurality of geographical entities to be searched corresponding to the address to be searched; According to the complete address map, all the geographic entities to be searched are queried respectively, and the geographic entities to be searched existing in the complete address map are taken as accurate nodes, and the geographic entities to be searched not existing in the complete address map are taken as nodes to be searched; Perform fuzzy query on all the nodes to be searched respectively to obtain a fuzzy node set corresponding to each node to be searched; Acquire multiple candidate nodes corresponding to each of the nodes to be searched according to the fuzzy node set; Combining all the accurate nodes with each of the candidate nodes respectively to obtain multiple candidate address combinations; According to the complete address map, all the candidate address combinations are respectively checked, and the candidate address combinations existing in the complete address map are retained to obtain a plurality of pending address combinations; The character similarity between each of the pending address combinations and the address to be searched is calculated, and a preset number of pending address combinations are selected and integrated according to all the character similarities to obtain an address search result.

3. A terminal, characterized in that: The terminal includes: a memory, a processor, and a location information retrieval program based on a triple semantic structure stored in the memory and executable on the processor. When the location information retrieval program based on a triple semantic structure is executed by the processor, the steps of the location information retrieval method based on a triple semantic structure as described in claim 1 are implemented.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a location information retrieval program based on a triple semantic structure, and when the location information retrieval program based on a triple semantic structure is executed by a processor, the steps of the location information retrieval method based on a triple semantic structure as claimed in claim 1 are implemented.