[go: up one dir, main page]

CN109766444A - Application database generation method and device of knowledge graph - Google Patents

Application database generation method and device of knowledge graph Download PDF

Info

Publication number
CN109766444A
CN109766444A CN201811501402.4A CN201811501402A CN109766444A CN 109766444 A CN109766444 A CN 109766444A CN 201811501402 A CN201811501402 A CN 201811501402A CN 109766444 A CN109766444 A CN 109766444A
Authority
CN
China
Prior art keywords
entity
application database
application
kernel
personalised
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811501402.4A
Other languages
Chinese (zh)
Other versions
CN109766444B (en
Inventor
郝学峰
许超
李千
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811501402.4A priority Critical patent/CN109766444B/en
Publication of CN109766444A publication Critical patent/CN109766444A/en
Application granted granted Critical
Publication of CN109766444B publication Critical patent/CN109766444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种知识图谱的应用数据库生成方法及其装置。其中,方法包括:获取待生成应用数据库的主题,获取通用知识图谱的实体。根据待生成应用数据库的主题,从通用知识图谱的实体中筛选出与主题相关的实体作为核心实体,生成待生成应用数据库的个性化实体。根据个性化实体和核心实体,生成应用数据库。由此,在生成应用数据库时,按照预设步骤逐步执行,减少了数据处理过程中的逻辑依赖,降低了产品的维护成本。解决了现有技术中数据处理过程的逻辑依赖复杂,维护成本过高的技术问题。此外,充分利用了通用知识图谱中的数据信息,保证了整个方案的通用性。

The invention discloses a method and a device for generating an application database of a knowledge graph. Wherein, the method includes: acquiring the subject of the application database to be generated, and acquiring the entity of the general knowledge graph. According to the topic of the application database to be generated, the entity related to the topic is selected from the entities of the general knowledge graph as the core entity, and the personalized entity of the application database to be generated is generated. Generate an application database based on personalization entities and core entities. Therefore, when the application database is generated, it is performed step by step according to the preset steps, which reduces the logical dependency in the data processing process and reduces the maintenance cost of the product. The technical problems of complex logic dependence and high maintenance cost in the data processing process in the prior art are solved. In addition, the data information in the general knowledge graph is fully utilized to ensure the generality of the whole scheme.

Description

The application database generation method and its device of knowledge mapping
Technical field
The present invention relates to data processing field more particularly to the application database generation methods and its dress of a kind of knowledge mapping It sets.
Background technique
The application product of knowledge based map needs to obtain the essential information of entity according to the entity name in knowledge mapping, And obtain knowledge subgraph relevant to the entity.Therefore, it is necessary to establish application database to provide corresponding data information.So And requirement of the different application products to data information is also different, it is necessary to construct different application data streams to generate difference Application database.
In the related technology, the treatment process of application data stream is disassembled as several subprocess, by the place in treatment process It manages logic front and back to be connected, constantly data is handled by handling logic.But application data stream is handled in the prior art Logic dependence can become complex with the change of application product demand.Thus it will lead to the maintenance cost of application product It is high, waste a large amount of resource.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of application database generation method of knowledge mapping, with reality It when generating application database now, is gradually executed according to default step, the logic reduced in data handling procedure relies on, and reduces The maintenance cost of product.In addition, taking full advantage of the data information in world knowledge map, the general of entire scheme ensure that Property.
Second object of the present invention is to propose a kind of application database generating means of knowledge mapping.
Third object of the present invention is to propose a kind of computer program product.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of application database generation side of knowledge mapping Method, comprising: obtain the theme of application database to be generated;Obtain the entity of world knowledge map;According to the application to be generated The theme of database filters out entity relevant to the theme as core reality from the entity of the world knowledge map Body;Generate the personalised entity of the application database to be generated;And according to the personalised entity and the kernel entity, Generate the application database.
Compared to the prior art, the embodiment of the present invention filters out reality relevant to theme from the entity of world knowledge map Body generates the personalised entity of application database to be generated as kernel entity.According to personalised entity and kernel entity, generate Application database.As a result, when generating application database, gradually executes, reduce in data handling procedure according to default step Logic rely on, reduce the maintenance cost of product.In addition, taking full advantage of the data information in world knowledge map, guarantee The versatility of entire scheme.
In addition, the application database generation method of the knowledge mapping of the embodiment of the present invention, also has following additional technology Feature:
Optionally, the theme according to the application database to be generated, from the entity of the world knowledge map Entity relevant to the theme is filtered out as kernel entity, comprising: determine the entity of the world knowledge map with it is described The degree of correlation of theme, and the degree of correlation is more than or equal to the entity of the world knowledge map of the first preset threshold as phase Close entity;Obtain the entity type, entity attribute, entity temperature of the related entities;According to the entity type, the entity One or more of attribute, described entity temperature screen the related entities;It will be described related real after screening Body is as the kernel entity.
Optionally, in the theme according to the application database to be generated, from the entity of the world knowledge map In filter out entity relevant to the theme as kernel entity after, further includes: according to the application database to be generated Theme, modify the kernel entity attribute expression, wherein the attribute is expressed as the kernel entity in different application number According to the title in library.
Optionally, the personalised entity for generating the application database to be generated, comprising: obtain described to be generated answer With the initial data of database;Validity check is carried out to the initial data, to obtain effective initial data;To described effective Initial data carries out hypostazation, to generate the personalised entity.
Optionally, described that hypostazation is carried out to effective initial data, to generate the personalised entity, comprising: right The effective initial data carries out physical operation to generate effective solid data, wherein the physical operation include entity split, It is one or more in entity assembling and entity splicing;And effective solid data is filtered, to generate described Property entity.
Optionally, described according to the personalised entity and the kernel entity, generate the application database, comprising: The qi that disappears is carried out to the kernel entity after the personalised entity and the modification attribute expression, it is real to obtain the application after the qi that disappears Body;According to the application entity, the application database is generated.
Optionally, the kernel entity to the personalised entity and after the modification attribute expression carries out the qi that disappears, with Obtain the application entity after qi that disappears, comprising: kernel entity after calculating the personalised entity and the modification attribute expression Acceptation similarity;Judge whether the acceptation similarity is more than or equal to the second preset threshold;If the acceptation similarity be greater than etc. In the second preset threshold, then the personalised entity is revised as the kernel entity after the modification attribute expression, to obtain State the application entity after disappearing qi;If the acceptation similarity less than the second preset threshold, retains the personalised entity respectively Kernel entity after being expressed with the modification attribute, with the application entity after the qi that disappears described in acquisition.
Optionally, described according to the application entity, after generating the application database, further includes: answer described Value assessment is carried out with the application entity in database, to obtain the value assessment numerical value of the application entity;By the value The world knowledge map is added in the application entity that figure of merit is higher than third predetermined threshold value, to update the world knowledge map In entity.
Second aspect of the present invention embodiment proposes a kind of application database generating means of knowledge mapping, comprising: first Module is obtained, for obtaining the theme of application database to be generated;Second obtains module, for obtaining the reality of world knowledge map Body;Screening module is screened from the entity of the world knowledge map for the theme according to the application database to be generated Entity relevant to the theme is as kernel entity out;First generation module, for generating the application database to be generated Personalised entity;And second generation module, for being answered described in generation according to the personalised entity and the kernel entity Use database.
In addition, the application database generating means of the knowledge mapping of the embodiment of the present invention, also have following additional technology Feature:
Optionally, the screening module, comprising: determination unit, for determining entity and the institute of the world knowledge map State the degree of correlation of theme, and using the degree of correlation be more than or equal to the entity of the world knowledge map of the first preset threshold as Related entities;First acquisition unit, for obtaining the entity type, entity attribute, entity temperature of the related entities;Screening is single Member, for real to the correlation according to one or more of the entity type, the entity attribute, the entity temperature Body is screened;Setting unit, for the related entities after screening as the kernel entity.
Optionally, described device further include: modified module is repaired for the theme according to the application database to be generated Change the attribute expression of the kernel entity, wherein the attribute is expressed as the kernel entity in different application database Title.
Optionally, first generation module, comprising: second acquisition unit, it is described to be generated using data for obtaining The initial data in library;Verification unit, for carrying out validity check to the initial data, to obtain effective initial data;It is real Body unit, for carrying out hypostazation to effective initial data, to generate the personalised entity.
Optionally, the hypostazation unit, comprising: physical operation subelement, for being carried out to effective initial data Physical operation is to generate effective solid data, wherein the physical operation includes that entity is split, in entity assembling and entity splicing It is one or more;And filtering subelement, it is described personalized real to generate for being filtered to effective solid data Body.
Optionally, second generation module, comprising: disappear qi unit, for the personalised entity and the modification Kernel entity after attribute expression carries out the qi that disappears, to obtain the application entity after the qi that disappears;Generation unit, for according to the application Entity generates the application database.
Optionally, the qi unit that disappears, comprising: computation subunit, for calculating the personalised entity and the modification The acceptation similarity of kernel entity after attribute expression;Judgment sub-unit, for judging whether the acceptation similarity is greater than In the second preset threshold;Subelement is modified, for determining that the acceptation similarity is more than or equal to second when the judgment sub-unit When preset threshold, the personalised entity is revised as the kernel entity after the modification attribute expression, with the qi that disappears described in acquisition Application entity afterwards;Retain subelement, for determining the acceptation similarity less than the second default threshold when the judgment sub-unit When value, retain the personalised entity and the kernel entity modified after attribute expression respectively, after the qi that disappears described in acquisition Application entity.
Optionally, second generation module, further includes: value assessment unit, for in the application database Application entity carries out value assessment, to obtain the value assessment numerical value of the application entity;Adding unit is used for the value The world knowledge map is added in the application entity that figure of merit is higher than third predetermined threshold value, to update the world knowledge map In entity.
Third aspect present invention embodiment proposes a kind of computer program product, when in the computer program product The application database generation method of the knowledge mapping as described in preceding method embodiment is realized when instruction processing unit executes.
Fourth aspect present invention embodiment proposes a kind of non-transitorycomputer readable storage medium, is stored thereon with meter Calculation machine program realizes the application of the knowledge mapping as described in preceding method embodiment when the computer program is executed by processor Data library generating method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Fig. 1 is a kind of process signal of the application database generation method of knowledge mapping provided by the embodiment of the present invention Figure;
Fig. 2 is the process signal of the application database generation method of another kind knowledge mapping provided by the embodiment of the present invention Figure;
Fig. 3 is the process signal of the application database generation method of another knowledge mapping provided by the embodiment of the present invention Figure;
Fig. 4 is the schematic diagram in the domain of three priority of the setting of application database provided by the embodiment of the present invention;
Fig. 5 is provided an exemplary process of the application database generation method of knowledge mapping by the embodiment of the present invention Figure;
Fig. 6 is provided the effect diagram that general application database generates template by the embodiment of the present invention;
Fig. 7 is provided the effect signal that the new application database of user's self-developing generates template by the embodiment of the present invention Figure;
Fig. 8 is a kind of structural representation of the application database generating means of knowledge mapping provided by the embodiment of the present invention Figure;
Fig. 9 is the structural representation of the application database generating means of another kind knowledge mapping provided by the embodiment of the present invention Figure;And
Figure 10 is that the structure of the application database generating means of another knowledge mapping provided by the embodiment of the present invention is shown It is intended to.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the application database generation method and its device of the knowledge mapping of the embodiment of the present invention are described.
Description based on the above-mentioned prior art is it is recognised that in the related technology, the logic of application data stream processing relies on meeting Become complex with the change of application product demand.Thus the maintenance cost that will lead to application product is high, wastes A large amount of resource.
For this problem, the embodiment of the invention provides a kind of application database generation methods of knowledge mapping.According to The theme of application database to be generated filters out entity relevant to theme as core reality from the entity of world knowledge map Body generates the personalised entity of application database to be generated.According to personalised entity and kernel entity, application database is generated. The logic reduced in data handling procedure relies on, and reduces the maintenance cost of product.In addition, taking full advantage of world knowledge figure Data information in spectrum ensure that the versatility of entire scheme.
Fig. 1 is a kind of process signal of the application database generation method of knowledge mapping provided by the embodiment of the present invention Figure.As shown in Figure 1, method includes the following steps:
S101 obtains the theme of application database to be generated.
It is appreciated that the data information that only knowledge mapping needs just needs to be stored in the application database of the knowledge mapping In.Therefore the theme of knowledge mapping is exactly the theme of application database to be generated.
S102 obtains the entity of world knowledge map.
Wherein, the world knowledge map record basic data information of every field, and to basic number in the form of entity It is believed that the knowledge point in breath is arranged, basic data information can be provided for the application database of different knowledge mappings.
S103 is filtered out and theme phase according to the theme of application database to be generated from the entity of world knowledge map The entity of pass is as kernel entity.
It is appreciated that data information only relevant to the theme of application database to be generated just needs in world knowledge map To be used to generate application database to be generated, and the basic data information in world knowledge map is existed in the form of entity 's.Therefore, it is necessary to entity relevant to the theme of application database to be generated is filtered out from the entity of world knowledge map.
In order to improve the quality of the kernel entity filtered out, one kind is possible to be achieved in that, determines world knowledge map Entity and theme the degree of correlation, and using the degree of correlation be more than or equal to the first preset threshold world knowledge map entity as phase Close entity.Entity type, the entity attribute, entity temperature for obtaining related entities, according to entity type, entity attribute, entity heat One or more of degree screens related entities, using the related entities after screening as kernel entity.
Specifically, the corresponding entity of theme is searched from world knowledge map, as subject entity.
According to the side of entity and subject entity each in world knowledge map, determine each entity of world knowledge map with The degree of correlation of theme.Entity in world knowledge map with the subject entity degree of correlation greater than 0.8 is screened, as related real Body.
Entity type, the entity attribute, entity temperature for obtaining related entities, further screen related entities.It is real Body type refers to that text, link, picture, video etc. can be used to describe the data type of particular content.Entity attribute refers to reality The particular content of body.Entity temperature refers to the frequency that entity is queried.
According to the demand of application database to be generated, according to one of entity type, entity attribute, entity temperature or A variety of pairs of related entities are screened, using the related entities after screening as kernel entity.
Further, it is contemplated that entity attributes expression and attribute list needed for application database in world knowledge map Derivative up to difference, such as art of mathematics is referred to as marginal utility in Science of Economics, it is therefore desirable to express entity attributes Carry out adaptation.
One kind is possible to be achieved in that, in the theme according to application database to be generated, from the reality of world knowledge map After entity relevant to theme is filtered out in body as kernel entity, according to the theme of application database to be generated, core is modified Heart entity attributes expression, wherein attribute is expressed as title of the kernel entity in different application database.
S104 generates the personalised entity of application database to be generated.
It is appreciated that in order to allow the data information in application database can cover generate application database needed for data Range of information, in addition to needing to obtain kernel entity from world knowledge map, it is also necessary to which it is general to supplement to generate personalised entity The data information not having in knowledge mapping.
S105 generates application database according to personalised entity and kernel entity.
It is appreciated that the kernel entity of the personalised entity of generation and acquisition is combined, can both make full use of general Data information in knowledge mapping, and data information range needed for application database can be covered.
In conclusion a kind of application database generation method of knowledge mapping of the embodiment of the present invention, obtains to be generated answer With the theme of database, the entity of world knowledge map is obtained.According to the theme of application database to be generated, from world knowledge figure Entity relevant to theme is filtered out in the entity of spectrum as kernel entity, the personalization for generating application database to be generated is real Body.According to personalised entity and kernel entity, application database is generated.As a result, when generating application database, according to default step Suddenly it gradually executes, the logic reduced in data handling procedure relies on, and reduces the maintenance cost of product.In addition, making full use of Data information in world knowledge map, ensure that the versatility of entire scheme.
In order to clearly illustrate that the application database generation method of knowledge mapping provided by the embodiment of the present invention is How the personalised entity of to be generated application database is generated.The embodiment of the present invention also proposed answering for another knowledge mapping With data library generating method, Fig. 2 is the application database generation method of another kind knowledge mapping provided by the embodiment of the present invention Flow diagram.Based on method flow shown in FIG. 1, as shown in Fig. 2, S104, generates the individual character of application database to be generated Change entity, comprising:
S201 obtains the initial data of application database to be generated.
Wherein, initial data can be from web page library, open database, the real-time stream of network tool, network tool It is obtained in offline batch data.
S202 carries out validity check to initial data, to obtain effective initial data.
It should be understood that, there are many invalid datas, needing to carry out validity inspection in the numerous initial data in source It tests, filters out invalid data therein, reduce workload for subsequent data processing work.
S203 carries out hypostazation to effective initial data, to generate personalised entity.
It is appreciated that data mode or structuring by the effective initial data of validity check, need to it Hypostazation is carried out, for generating application database together with kernel entity.
Wherein, hypostazation refers to that keyword is extracted from one section of effective initial data to be corresponded to as the effective initial data of the section Entity, and using this section of effective initial data as the physical contents of the entity.
Further, if the entity that extracts of two sections of effective initial data is identical, two sections of effective initial data are carried out Merge, the physical contents as the entity.
Specifically, meet the personalised entity of application database demand in order to which effective initial data can be generated, it is a kind of It is possible to be achieved in that, physical operation is carried out to generate effective solid data to effective initial data, wherein physical operation packet Entity is included to split, is in entity assembling and entity splicing one or more.Effective solid data is filtered, to generate individual character Change entity.
It should be noted that the purpose for carrying out physical operation to effective initial data is in order to by the number of effective initial data Hypostazation is become from structuring according to form, to generate effective solid data.
It is to filter out application number to be generated from effective solid data to the purpose that effective solid data is filtered Personalised entity according to data information needed for library, as application database to be generated.
To realize the initial data by application database to be generated, generate the individual character of application database to be generated Change data.
In order to clearly illustrate that the application database generation method of knowledge mapping provided by the embodiment of the present invention is How according to personalised entity and kernel entity, application database is generated.The embodiment of the present invention also proposed another knowledge The application database generation method of map, Fig. 3 are the application database of another knowledge mapping provided by the embodiment of the present invention The flow diagram of generation method.Based on method flow shown in FIG. 1, as shown in figure 3, S105, according to personalised entity and core Heart entity generates application database, comprising:
S301 carries out the qi that disappears to the kernel entity after personalised entity and modification attribute expression, to obtain answering after the qi that disappears Use entity.
It should be appreciated that personalised entity is the data information extracted from initial data, the core after modification attribute expression Entity is the data information for comparing specification.There may be difference for attribute expression of the two to same thing, but substantially describe It is same thing.
For unified attribute expression, need to carry out the qi that disappears to the two.One kind is possible to be achieved in that, is calculated personalized real The acceptation similarity of kernel entity after body and modification attribute expression, judges whether acceptation similarity is more than or equal to the second default threshold Value.If acceptation similarity is more than or equal to the second preset threshold, personalised entity is revised as the core after modification attribute expression Entity, to obtain the application entity after the qi that disappears.If acceptation similarity retains personalised entity less than the second preset threshold respectively Application entity with the kernel entity after modification attribute expression, after the qi that disappeared with acquisition.
Specifically, acceptation similarity can be calculated using word2vec algorithm, if the acceptation similarity being calculated is greater than Equal to 90%, then the kernel entity that can be determined personalised entity and modify after attribute expression is substantially same thing, in order to Data information in application database more standardizes, and personalised entity is revised as the kernel entity after modification attribute expression, And the corresponding physical contents of the two are merged.If the acceptation similarity being calculated less than 90%, illustrates personalized real There are certain differences for kernel entity after body and modification attribute expression, in order to make the data information in application database richer Richness retains personalised entity respectively and modifies the kernel entity after attribute expression.
S302 generates application database according to application entity.
It is appreciated that application entity is that kernel entity after personalised entity and modification attribute expression disappears and obtains after qi, Data information range needed for covering application database.Application entity and its corresponding physical contents are stored in application database In, that is, produce application database.
Further, in order to constantly update the data information in world knowledge map, one kind is possible to be achieved in that, right Application entity in application database carries out value assessment, to obtain the value assessment numerical value of application entity.By value assessment number World knowledge map is added in the application entity that value is higher than third predetermined threshold value, to update the entity in world knowledge map.
To realize according to personalised entity and kernel entity, generate application database.
In addition, in order to allow applications to better use the data information in application database, as shown in figure 4, to application The domain of three priority is all arranged in kernel entity and personalised entity in database.
Highest priority is to intervene domain, applications when using data information in application database, logarithm it is believed that After breath is modified, intervened, within the period of coming into force, modification, the result intervened are written back into the intervention domain of corresponding data information In, so that applications reuse.
Followed by recharge domain, applications return the result excavated offline after excavate offline to data information It is written in the recharge domain of corresponding data information, so that applications reuse.
Priority it is minimum be data field, the application entity of not processed mistake is store in data field, personalised entity Data field only can cause personalised entity to update and update because of the introducing of new initial data, and the data field of kernel entity is only It can be because the personalised entity of high praise numerical value occurs and updates.
In order to clearly illustrate the application database generation method of knowledge mapping provided by the embodiment of the present invention, under Face is illustrated.
As shown in figure 5, carrying out data introducing from multiple data sources, initial data is obtained.Validity is carried out to initial data It examines and obtains effective initial data, obtain personalised entity after carrying out the operation such as hypostazation, filtering to effective initial data.
Personalised entity is obtained kernel entity with kernel entity update module to be combined, is generated in data update module Application entity generates application database according to application entity.
Data intervention module and offline module application data library of excavating relatively are independent processing, are obtained after processing Data information is written back into the corresponding intervention domain of the data information and recharge domain respectively.
Further, in order to allow user more easily use knowledge mapping provided by the embodiment of the present invention apply number According to library generating method, as shown in fig. 6, the embodiment of the invention provides general application databases to generate template.User can root According to the demand in application data library, corresponding template is selected, the application database generation side of the corresponding knowledge mapping of each template The step of method, is different.
As shown in fig. 7, if existing template cannot be met the needs of users, for that can select from standard processing modules Required module self develops new template.
In order to realize above-described embodiment, the embodiment of the present invention also proposes that a kind of application database of knowledge mapping generates dress It sets, Fig. 8 is a kind of structural schematic diagram of the application database generating means of knowledge mapping provided by the embodiment of the present invention, is such as schemed Shown in 8, which includes: the first acquisition module 410, and second obtains module 420, screening module 430, the first generation module 440, Second generation module 450.
First obtains module 410, for obtaining the theme of application database to be generated.
Second obtains module 420, for obtaining the entity of world knowledge map.
Screening module 430 is screened from the entity of world knowledge map for the theme according to application database to be generated Entity relevant to theme is as kernel entity out.
First generation module 440, for generating the personalised entity of application database to be generated.
Second generation module 450, for generating application database according to personalised entity and kernel entity.
Further, in order to improve the quality of the kernel entity filtered out, it is a kind of it is possible is achieved in that, screening module 430, comprising: determination unit 431 is greater than for determining the entity of world knowledge map and the degree of correlation of theme, and by the degree of correlation Equal to the first preset threshold world knowledge map entity as related entities.First acquisition unit 432, for obtaining correlation The entity type of entity, entity attribute, entity temperature.Screening unit 433, for according to entity type, entity attribute, entity heat One or more of degree screens related entities.Setting unit 434, for the related entities after screening as core Heart entity.
Adaptation is carried out in order to express entity attributes, one kind is possible to be achieved in that, the device further include: Modified module 460 modifies the attribute expression of kernel entity, wherein attribute list for the theme according to application database to be generated Up to the title for kernel entity in different application database.
It should be noted that the explanation of the aforementioned application database generation method embodiment to knowledge mapping is also suitable In the application database generating means of the knowledge mapping of the embodiment, details are not described herein again.
In conclusion a kind of application database generating means of knowledge mapping of the embodiment of the present invention, obtain to be generated answer With the theme of database, the entity of world knowledge map is obtained.According to the theme of application database to be generated, from world knowledge figure Entity relevant to theme is filtered out in the entity of spectrum as kernel entity, the personalization for generating application database to be generated is real Body.According to personalised entity and kernel entity, application database is generated.As a result, when generating application database, according to default step Suddenly it gradually executes, the logic reduced in data handling procedure relies on, and reduces the maintenance cost of product.In addition, making full use of Data information in world knowledge map, ensure that the versatility of entire scheme.
In order to realize above-described embodiment, the embodiment of the present invention also proposes that the application database of another knowledge mapping generates dress It sets, Fig. 9 is the structural schematic diagram of the application database generating means of another kind knowledge mapping provided by the embodiment of the present invention, such as Shown in Fig. 9, the first generation module 440, comprising: second acquisition unit 441, verification unit 442, hypostazation unit 443.
Second acquisition unit 441, for obtaining the initial data of application database to be generated.
Verification unit 442, for carrying out validity check to initial data, to obtain effective initial data.
Hypostazation unit 443, for carrying out hypostazation to effective initial data, to generate personalised entity.
Further, meet the personalised entity of application database demand in order to which effective initial data can be generated, one It is kind possible to be achieved in that, hypostazation unit 443, comprising: physical operation subelement 4431, for effective initial data into Row physical operation is to generate effective solid data, wherein physical operation includes that entity is split, in entity assembling and entity splicing It is one or more.Subelement 4432 is filtered, for being filtered to effective solid data, to generate personalised entity.
It should be noted that the explanation of the aforementioned application database generation method embodiment to knowledge mapping is also suitable In the application database generating means of the knowledge mapping of the embodiment, details are not described herein again.
To realize the initial data by application database to be generated, generate the individual character of application database to be generated Change data.
In order to realize above-described embodiment, the embodiment of the present invention also proposes that the application database of another knowledge mapping generates dress It setting, Figure 10 is the structural schematic diagram of the application database generating means of another knowledge mapping provided by the embodiment of the present invention, As shown in Figure 10, the second generation module 450, comprising: disappear qi unit 451, generation unit 452.
Disappear qi unit 451, for carrying out the qi that disappears to the kernel entity after personalised entity and modification attribute expression, to obtain Disappear the application entity after qi.
Generation unit 452, for generating application database according to application entity.
Further, for unified attribute expression, the qi that disappears is carried out, one kind is possible to be achieved in that, disappear qi unit 451, comprising: computation subunit 4511, for calculating personalised entity and modifying the meaning of a word phase of the kernel entity after attribute expression Like degree.Judgment sub-unit 4512, for judging whether acceptation similarity is more than or equal to the second preset threshold.Modify subelement 4513, for when judgment sub-unit 4512 determines that acceptation similarity is more than or equal to the second preset threshold, personalised entity to be repaired Kernel entity after being changed to modification attribute expression, to obtain the application entity after the qi that disappears.Retain subelement 4514, for when judgement When subelement 4512 determines acceptation similarity less than the second preset threshold, after retaining personalised entity and modification attribute expression respectively Kernel entity, to obtain the application entity after qi that disappears.
Further, in order to constantly update the data information in world knowledge map, one kind is possible to be achieved in that, the Two generation modules 450, further includes: value assessment unit 453 carries out value for the application entity in application data library and comments Valence, to obtain the value assessment numerical value of application entity.Adding unit 454 presets threshold for value assessment numerical value to be higher than third World knowledge map is added in the application entity of value, to update the entity in world knowledge map.
It should be noted that the explanation of the aforementioned application database generation method embodiment to knowledge mapping is also suitable In the application database generating means of the knowledge mapping of the embodiment, details are not described herein again.
To realize according to personalised entity and kernel entity, generate application database.
In order to realize above-described embodiment, the embodiment of the present invention also proposes a kind of computer program product, when the computer Instruction processing unit in program product realizes that the application database of the knowledge mapping as described in preceding method embodiment is raw when executing At method.
In order to realize above-described embodiment, embodiment also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon Computer program is contained, the knowledge mapping as described in preceding method embodiment is realized when the computer program is executed by processor Application database generation method.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on the figure or Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below " One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (18)

1. a kind of application database generation method of knowledge mapping characterized by comprising
Obtain the theme of application database to be generated;
Obtain the entity of world knowledge map;
According to the theme of the application database to be generated, filtered out from the entity of the world knowledge map and the theme Relevant entity is as kernel entity;
Generate the personalised entity of the application database to be generated;And
According to the personalised entity and the kernel entity, the application database is generated.
2. the method as described in claim 1, which is characterized in that the theme according to the application database to be generated, from Entity relevant to the theme is filtered out in the entity of the world knowledge map as kernel entity, comprising:
It determines the entity of the world knowledge map and the degree of correlation of the theme, and the degree of correlation is more than or equal to first in advance If the entity of the world knowledge map of threshold value is as related entities;
Obtain the entity type, entity attribute, entity temperature of the related entities;
According to one or more of the entity type, the entity attribute, the entity temperature to the related entities It is screened;
Using the related entities after screening as the kernel entity.
3. method according to claim 2, which is characterized in that in the theme according to the application database to be generated, After filtering out entity relevant to the theme in the entity of the world knowledge map as kernel entity, further includes:
According to the theme of the application database to be generated, the attribute expression of the kernel entity is modified, wherein the attribute list Up to the title for the kernel entity in different application database.
4. method as claimed in claim 3, which is characterized in that the personalization for generating the application database to be generated is real Body, comprising:
Obtain the initial data of the application database to be generated;
Validity check is carried out to the initial data, to obtain effective initial data;
Hypostazation is carried out to effective initial data, to generate the personalised entity.
5. method as claimed in claim 4, which is characterized in that it is described that hypostazation is carried out to effective initial data, with life At the personalised entity, comprising:
Physical operation is carried out to generate effective solid data to effective initial data, wherein the physical operation includes real Body splits, is in entity assembling and entity splicing one or more;And
Effective solid data is filtered, to generate the personalised entity.
6. method as claimed in claim 5, which is characterized in that it is described according to the personalised entity and the kernel entity, Generate the application database, comprising:
The qi that disappears is carried out to the kernel entity after the personalised entity and the modification attribute expression, to obtain the application after the qi that disappears Entity;
According to the application entity, the application database is generated.
7. method as claimed in claim 6, which is characterized in that described to express the personalised entity and the modification attribute Kernel entity afterwards carries out the qi that disappears, to obtain the application entity after the qi that disappears, comprising:
The acceptation similarity of kernel entity after calculating the personalised entity and the modification attribute expression;
Judge whether the acceptation similarity is more than or equal to the second preset threshold;
If the acceptation similarity is more than or equal to the second preset threshold, the personalised entity is revised as the modification attribute Kernel entity after expression, with the application entity after the qi that disappears described in acquisition;
If the acceptation similarity less than the second preset threshold, retains the personalised entity and the modification attribute list respectively Kernel entity after reaching, with the application entity after the qi that disappears described in acquisition.
8. the method for claim 7, described according to the application entity, after generating the application database, also Include:
Value assessment is carried out to the application entity in the application database, to obtain the value assessment number of the application entity Value;
The world knowledge map is added in the application entity that the value assessment numerical value is higher than third predetermined threshold value, to update State the entity in world knowledge map.
9. a kind of application database generating means of knowledge mapping, which is characterized in that described device includes:
First obtains module, for obtaining the theme of application database to be generated;
Second obtains module, for obtaining the entity of world knowledge map;
Screening module is sieved from the entity of the world knowledge map for the theme according to the application database to be generated Entity relevant to the theme is selected as kernel entity;
First generation module, for generating the personalised entity of the application database to be generated;And
Second generation module, for generating the application database according to the personalised entity and the kernel entity.
10. device as claimed in claim 9, which is characterized in that the screening module, comprising:
Determination unit, for determining the entity of the world knowledge map and the degree of correlation of the theme, and by the degree of correlation More than or equal to the first preset threshold the world knowledge map entity as related entities;
First acquisition unit, for obtaining the entity type, entity attribute, entity temperature of the related entities;
Screening unit, for according to one or more of the entity type, the entity attribute, the entity temperature pair The related entities are screened;
Setting unit, for the related entities after screening as the kernel entity.
11. device as claimed in claim 10, which is characterized in that described device further include:
Modified module modifies the attribute expression of the kernel entity for the theme according to the application database to be generated, In, the attribute is expressed as title of the kernel entity in different application database.
12. device as claimed in claim 11, which is characterized in that first generation module, comprising:
Second acquisition unit, for obtaining the initial data of the application database to be generated;
Verification unit, for carrying out validity check to the initial data, to obtain effective initial data;
Hypostazation unit, for carrying out hypostazation to effective initial data, to generate the personalised entity.
13. device as claimed in claim 12, which is characterized in that the hypostazation unit, comprising:
Physical operation subelement, for carrying out physical operation to effective initial data to generate effective solid data, wherein The physical operation includes that entity splits, is in entity assembling and entity splicing one or more;And
Subelement is filtered, for being filtered to effective solid data, to generate the personalised entity.
14. device as claimed in claim 13, which is characterized in that second generation module, comprising:
Disappear qi unit, for carrying out the qi that disappears to the kernel entity after the personalised entity and the modification attribute expression, to obtain Application entity after cancelling qi;
Generation unit, for generating the application database according to the application entity.
15. device as claimed in claim 14, which is characterized in that the qi unit that disappears, comprising:
Computation subunit, it is similar with the meaning of a word of kernel entity after the modification attribute expression for calculating the personalised entity Degree;
Judgment sub-unit, for judging whether the acceptation similarity is more than or equal to the second preset threshold;
Modify subelement, for when the judgment sub-unit determine the acceptation similarity be more than or equal to the second preset threshold when, The personalised entity is revised as the kernel entity after the modification attribute expression, it is real with the application after the qi that disappears described in acquisition Body;
Retain subelement, for distinguishing when the judgment sub-unit determines the acceptation similarity less than the second preset threshold Kernel entity after retaining the personalised entity and the modification attribute expression, with the application entity after the qi that disappears described in acquisition.
16. device as claimed in claim 15, which is characterized in that second generation module, further includes:
Value assessment unit, for carrying out value assessment to the application entity in the application database, to obtain the application The value assessment numerical value of entity;
The world knowledge is added in adding unit, the application entity for the value assessment numerical value to be higher than to third predetermined threshold value Map, to update the entity in the world knowledge map.
17. a kind of computer program product, which is characterized in that when the instruction processing unit in the computer program product executes Realize the application database generation method such as knowledge mapping described in any one of claims 1-8.
18. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the meter The application database generation side such as knowledge mapping described in any one of claims 1-8 is realized when calculation machine program is executed by processor Method.
CN201811501402.4A 2018-12-10 2018-12-10 Application database generation method and device of knowledge graph Active CN109766444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811501402.4A CN109766444B (en) 2018-12-10 2018-12-10 Application database generation method and device of knowledge graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811501402.4A CN109766444B (en) 2018-12-10 2018-12-10 Application database generation method and device of knowledge graph

Publications (2)

Publication Number Publication Date
CN109766444A true CN109766444A (en) 2019-05-17
CN109766444B CN109766444B (en) 2021-02-23

Family

ID=66451375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811501402.4A Active CN109766444B (en) 2018-12-10 2018-12-10 Application database generation method and device of knowledge graph

Country Status (1)

Country Link
CN (1) CN109766444B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377704A (en) * 2019-07-22 2019-10-25 北京百度网讯科技有限公司 Detection method, device and the computer equipment of data consistency
CN112241401A (en) * 2020-10-16 2021-01-19 中国民用航空华东地区空中交通管理局 Knowledge graph-based digital quality management system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488724A (en) * 2013-09-16 2014-01-01 复旦大学 Book-oriented reading field knowledge map construction method
CN103678714A (en) * 2013-12-31 2014-03-26 北京百度网讯科技有限公司 Construction method and device for entity knowledge base
CN105138631A (en) * 2015-08-20 2015-12-09 小米科技有限责任公司 Knowledge base construction method and device
CN107729490A (en) * 2017-10-18 2018-02-23 华南农业大学 Clothes personalized designs method and apparatus based on multi-source dynamic knowledge collection of illustrative plates
CN107807957A (en) * 2017-09-30 2018-03-16 北京奇虎科技有限公司 entity library generating method and device
US20180082183A1 (en) * 2011-02-22 2018-03-22 Thomson Reuters Global Resources Machine learning-based relationship association and related discovery and search engines
CN107943873A (en) * 2017-11-13 2018-04-20 平安科技(深圳)有限公司 Knowledge mapping method for building up, device, computer equipment and storage medium
CN108376160A (en) * 2018-02-12 2018-08-07 北京大学 A kind of Chinese knowledge mapping construction method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180082183A1 (en) * 2011-02-22 2018-03-22 Thomson Reuters Global Resources Machine learning-based relationship association and related discovery and search engines
CN103488724A (en) * 2013-09-16 2014-01-01 复旦大学 Book-oriented reading field knowledge map construction method
CN103678714A (en) * 2013-12-31 2014-03-26 北京百度网讯科技有限公司 Construction method and device for entity knowledge base
CN105138631A (en) * 2015-08-20 2015-12-09 小米科技有限责任公司 Knowledge base construction method and device
CN107807957A (en) * 2017-09-30 2018-03-16 北京奇虎科技有限公司 entity library generating method and device
CN107729490A (en) * 2017-10-18 2018-02-23 华南农业大学 Clothes personalized designs method and apparatus based on multi-source dynamic knowledge collection of illustrative plates
CN107943873A (en) * 2017-11-13 2018-04-20 平安科技(深圳)有限公司 Knowledge mapping method for building up, device, computer equipment and storage medium
CN108376160A (en) * 2018-02-12 2018-08-07 北京大学 A kind of Chinese knowledge mapping construction method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377704A (en) * 2019-07-22 2019-10-25 北京百度网讯科技有限公司 Detection method, device and the computer equipment of data consistency
CN110377704B (en) * 2019-07-22 2022-04-22 北京百度网讯科技有限公司 Data consistency detection method, device and computer equipment
CN112241401A (en) * 2020-10-16 2021-01-19 中国民用航空华东地区空中交通管理局 Knowledge graph-based digital quality management system and method

Also Published As

Publication number Publication date
CN109766444B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US7216340B1 (en) Analysis data validation tool for use in enterprise architecture modeling with result based model updating
CN105511873B (en) User interface control display method and device
Lamprecht et al. Semantics-based composition of EMBOSS services
US8830266B1 (en) Merging electronic diagrams
CN106507686A (en) Method and tool for designing software architecture of complex cyber-physical systems in different technical fields with its various software artifacts
Beale Archetypes and the EHR
CN105138526A (en) Method and system used for automatically generating semantic mapping for relational databases
Moha et al. Refactorings of design defects using relational concept analysis
JP2012528375A (en) Providing patent maps by viewpoint
US20040255252A1 (en) System process and logic element for providing and managing record keeping applications
CN113672638A (en) Method, system and electronic equipment for querying data
CN109800147A (en) A kind of test cases generation method and terminal device
CN109766444A (en) Application database generation method and device of knowledge graph
CN112562055A (en) Front-end rendering method and system of knowledge graph, electronic device and storage medium
JP2016192034A (en) Statistical model creation device, statistical model creation method, and statistical model creation program
CN111126961A (en) Complex product full life cycle digital mainline service system
CN119669203A (en) Multimodal data management system, method, device and medium
CN103678349A (en) Method and device for filtering useless data
US8589531B2 (en) Network difference reporting
CN108549598A (en) A kind of method for testing software and system
CN101788977A (en) Method for implementing editing and modifying of medical examination report
KR101546655B1 (en) Method and system for managing medical data based entity relationship
JP2009064399A (en) Search result display method, search result display program, and search result display device
CN117033648A (en) Processing method and device for triples of knowledge graph and computer equipment
CN114385866A (en) Graph database based executable model storage system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant