CN114595339A - Method and device for detecting triple relation change, electronic equipment and medium - Google Patents

Method and device for detecting triple relation change, electronic equipment and medium Download PDF

Info

Publication number
CN114595339A
CN114595339A CN202210251063.9A CN202210251063A CN114595339A CN 114595339 A CN114595339 A CN 114595339A CN 202210251063 A CN202210251063 A CN 202210251063A CN 114595339 A CN114595339 A CN 114595339A
Authority
CN
China
Prior art keywords
change
attribute data
relationship
condition
attribute
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.)
Pending
Application number
CN202210251063.9A
Other languages
Chinese (zh)
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.)
Yunli Intelligent Technology Co ltd
Original Assignee
Yunli Intelligent 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 Yunli Intelligent Technology Co ltd filed Critical Yunli Intelligent Technology Co ltd
Priority to CN202210251063.9A priority Critical patent/CN114595339A/en
Publication of CN114595339A publication Critical patent/CN114595339A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for detecting triple relation change, electronic equipment and a medium. The method comprises the following steps: acquiring attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute; if the attribute data changes, acquiring an influence factor associated with the attribute data; the influence factors are used for characterizing influence of the attributes on the triad relation; determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition. According to the technical scheme, the accuracy and the effectiveness of triple relation change detection can be improved, and the reliability of the knowledge graph is further improved.

Description

Method and device for detecting triple relation change, electronic equipment and medium
Technical Field
The invention relates to the technical field of knowledge maps, in particular to a method and a device for detecting triple relation change, electronic equipment and a medium.
Background
Knowledge maps have been widely used in the internet and vertical industries, and the amount of data used to construct knowledge maps is increasing. This makes the knowledge-graph large in scale and high in complexity, and the data content is constantly changing, so that the quality management of the knowledge-graph is important.
The quality detection of the triple relation in the knowledge graph constructed based on mass data is a key link for determining the quality of the knowledge graph. In an open internet usage scenario, the tolerance for triplet quality is high. In a relatively closed vertical industry, the knowledge graph is often used for business decision, and the quality requirement on the triples is more strict, and currently, the quality management of the triples generally depends on manual regular check or correction after errors are found.
The timeliness and the accuracy of the quality detection mode are low, so that the reliability of a constructed knowledge graph is gradually reduced along with the time.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a medium for detecting triple relation change, which can improve the accuracy and effectiveness of triple relation change detection and further improve the reliability of a knowledge graph.
According to an aspect of the present invention, there is provided a method for detecting a change in a triplet relationship, the method including:
acquiring attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute;
if the attribute data changes, acquiring an influence factor associated with the attribute data; the influence factors are used for representing influence of the attributes on the triple relations;
determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
According to another aspect of the present invention, there is provided a triplet relation change detecting apparatus, including:
the attribute data acquisition module is used for acquiring the attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute;
the influence factor acquisition module is used for acquiring influence factors associated with the attribute data if the attribute data changes; the influence factors are used for characterizing influence of the attributes on the triad relation;
the change condition determining module is used for determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method for detecting triplet relationship changes as described in any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for detecting a change in a triplet relationship according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, attribute data are judged by acquiring the attribute data of the triples, and if the attribute data are changed, influence factors associated with the attribute data are acquired; determining the change condition of the triple relation according to the influence factors; wherein, the change condition comprises changed condition and unchanged condition. According to the technical scheme, the accuracy and the effectiveness of triple relation change detection can be improved, and the reliability of the knowledge graph is further improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a triple relationship change detection method according to an embodiment of the present invention;
fig. 2 is a flowchart of a triple relationship change detection process according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a triplet relationship provided in the second embodiment of the present application;
fig. 4 is a schematic structural diagram of a triple relationship change detection apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing a method for detecting a triplet relationship change according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be understood that the terms "initial" and the like in the description and claims of the invention and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "characterized by," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a triple relationship change detection method according to an embodiment of the present invention, where the embodiment is applicable to detecting a triple relationship change in a knowledge graph, and the method may be implemented by a triple relationship change detection apparatus, where the triple relationship change detection apparatus may be implemented in a form of hardware and/or software, and the triple relationship change detection apparatus may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, acquiring attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity includes at least one attribute.
Wherein, the triple consists of two entities and a relationship; the entity includes at least one attribute. An entity is an abstraction of an objective individual. For example, a person, a movie, a sentence, etc. can all be considered as one entity. Attributes are abstractions of entities and relationships between entities.
In this embodiment, attribute data of triples may be obtained based on a knowledge graph.
In this technical solution, optionally, the obtaining of the attribute data of the triple includes:
and reading a data log of the knowledge graph, and acquiring attribute data of the triples.
Wherein the attribute data of the triples is stored in a data log of the knowledge graph, and the attribute data is continuously updated.
By acquiring the attribute data of the triplets, the change condition of the triplets can be detected according to the attribute data, so that the accuracy and the effectiveness of the triple relation change detection are improved, and the reliability of the knowledge graph is further improved.
In this technical solution, optionally, after obtaining the attribute data of the triplet, the method further includes:
judging whether the attribute data is consistent with the pre-stored initial attribute;
and if the attribute data are not consistent, the attribute data are changed.
Wherein, the initial attribute may refer to a triple attribute when the knowledge graph is constructed.
In this embodiment, the initial attribute is stored in the data log of the knowledge graph, and the attribute data may be compared with the initial attribute to determine whether the attribute data changes. If the attribute data is consistent with the pre-stored initial attribute, the attribute data is not changed; if the attribute data is not consistent with the initial attribute stored in advance, the attribute data is changed.
By judging whether the attribute data changes or not, the change condition of the triple relation can be detected according to the attribute data, the accuracy and the effectiveness of triple relation change detection are improved, and the reliability of the knowledge graph is further improved.
S120, if the attribute data are changed, acquiring an influence factor associated with the attribute data; wherein the influence factor is used for characterizing the influence of the attribute on the triad relation.
In this scheme, the impact factor is set to a value in the interval [0, 1] to characterize the impact of the attribute on the triple relationship, and if the attribute changes, for example, the value of the attribute changes, or the attribute is removed from the corresponding entity, the relationship in the triple is affected accordingly. Wherein, the larger the value of the influence factor is, the larger the influence of the attribute on the triple relationship is.
In this embodiment, if some attribute data in a triplet is changed, an influence factor of the attribute data is obtained; if some attribute data in the triple are not changed, the influence factor of the attribute data is not acquired.
In this technical solution, optionally, a sum of the influence factors of the attributes corresponding to each entity is equal to 1.
In this embodiment, the sum of the impact factors of all attributes of each entity may be normalized, i.e., for each entity, the sum of its impact factors
Figure BDA0003546889110000051
Is a constant value. Where x represents an influence factor and k is an attribute.
If the existing attribute of an entity in a given triple does not meet the condition, the attribute should be added until the condition is met.
By setting the influence factors, the change condition of the triple relation can be detected based on the influence factors, and the accuracy and the effectiveness of the triple relation change detection are improved.
S130, determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
In this embodiment, the larger the value of the influence factor, the more likely the change of the triplet relationship is. The influence factor can be compared with a preset threshold, and if the influence factor is greater than the preset threshold, the triple relationship is changed; and if the influence factor is less than or equal to the preset threshold, indicating that the triple relation is not changed.
In this technical solution, optionally, determining a change condition of the triple relationship according to the influence factor includes:
determining a change probability according to the influence factor;
if the change probability meets the preset threshold condition, determining that the triple relation changes;
and if the change probability does not meet the preset threshold condition, determining that the triple relation is not changed.
The change probability may refer to a probability that the triple relationship changes.
Specifically, the change probability is compared with a preset threshold, and if the change probability is greater than the preset threshold, the triple relationship is changed; and if the change probability is less than or equal to the preset threshold, indicating that the triple relation is not changed. The preset threshold value can be set to different gears when the relation of the knowledge graph is managed.
By detecting the change condition of the triple relation, the reliability of the knowledge graph can be improved.
In this technical solution, optionally, determining the change probability according to the influence factor includes:
and adding the influence factors to obtain the change probability.
Specifically, the variation probability can be expressed by the following formula:
P=∑xai+xbi
wherein the attribute ai is an attribute that changes in the entity A, xaiFor its influencing factor, the attribute bi is the attribute that changes in the entity B, xbiAs its influencing factor.
By detecting the change condition of the triple relation, the reliability of the knowledge graph can be improved.
According to the technical scheme of the embodiment of the invention, attribute data are judged by acquiring the attribute data of the triples, and if the attribute data are changed, influence factors associated with the attribute data are acquired; determining the change condition of the triple relation according to the influence factors; wherein, the change condition comprises changed condition and unchanged condition. By executing the technical scheme, the accuracy and effectiveness of triple relation change detection can be improved, and the reliability of the knowledge graph is further improved.
Example two
Fig. 2 is a flowchart of a triple relationship change detection process according to a second embodiment of the present invention, and the relationship between this embodiment and the foregoing embodiments is a detailed step of setting an impact factor. As shown in fig. 2, the method includes:
and S210, acquiring the triple initial relationship.
Wherein, the initial relationship may refer to a triple relationship when the knowledge graph is constructed. The triple initial relationship can be obtained by reading the constructed knowledge graph.
S220, searching is carried out according to the triple initial relation and the matching relation of the prestored relation, the attribute and the influence factor, and the influence factor associated with each attribute is determined.
In the scheme, the matching relation of the relation, the attribute and the influence factor can be set according to the construction requirement of the knowledge graph. The influence factor of each attribute of each entity corresponding to different relationships may be different.
Exemplarily, fig. 3 is a schematic diagram of a triplet relationship provided in the second embodiment of the present application, and as shown in fig. 3, the triplet is composed of an entity a and an entity B. Entity a includes 3 attributes; entity B includes 3 attributes. Each attribute includes an attribute name, an attribute value, and an influence factor.
S230, acquiring attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity includes at least one attribute.
S240, if the attribute data are changed, acquiring an influence factor associated with the attribute data; wherein the influence factor is used for characterizing the influence of the attribute on the triad relation.
S250, determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
According to the technical scheme of the embodiment of the invention, by acquiring the initial relation of the triples, searching is carried out from the pre-stored relation, attribute and matching relation of the influence factors according to the initial relation of the triples, the influence factors associated with each attribute are determined to acquire the attribute data of the triples, the attribute data is judged, and if the attribute data changes, the influence factors associated with the attribute data are acquired; determining the change condition of the triple relation according to the influence factors; wherein, the change condition comprises changed condition and unchanged condition. By executing the technical scheme, the accuracy and effectiveness of triple relation change detection can be improved, and the reliability of the knowledge graph is further improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a triple relationship change detection apparatus according to a third embodiment of the present invention, as shown in fig. 4, the apparatus includes:
an attribute data obtaining module 410, configured to obtain attribute data of the triple; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute;
an influence factor obtaining module 420, configured to obtain an influence factor associated with the attribute data if the attribute data changes; the influence factors are used for characterizing influence of the attributes on the triad relation;
a change condition determining module 430, configured to determine a change condition of the triple relationship according to the influence factor; wherein the change condition comprises changed condition and unchanged condition.
Optionally, the change condition determining module 430 includes:
the change probability determining unit is used for determining the change probability according to the influence factors;
the relation change determining unit is used for determining that the triple relation changes if the change probability meets a preset threshold condition;
and the relation unchanged determination unit is used for determining that the triple relation is not changed if the change probability does not meet the preset threshold condition.
Optionally, the change probability determining unit is specifically configured to:
and adding the influence factors to obtain the change probability.
Optionally, the attribute data obtaining module 410 is specifically configured to:
and reading a data log of the knowledge graph, and acquiring attribute data of the triples.
Optionally, the apparatus further comprises:
the attribute data judging module is used for judging whether the attribute data is consistent with the pre-stored initial attribute;
and the attribute data change module is used for changing the attribute data if the attribute data are not consistent with the attribute data.
Optionally, the apparatus further comprises:
the triple initial relationship obtaining module is used for obtaining a triple initial relationship;
and the influence factor determining module is used for searching from the pre-stored relationship, the attribute and the matching relationship of the influence factors according to the triple initial relationship, and determining the influence factors associated with the attributes.
Optionally, the sum of the influence factors of the attributes corresponding to each entity is equal to 1.
The triple relation change detection device provided by the embodiment of the invention can execute the triple relation change detection method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 5 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as a triplet relationship change detection method.
In some embodiments, a triple relationship change detection method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When loaded into RAM 13 and executed by processor 11, the computer program may perform one or more of the steps of a method for detecting a change in a triplet relationship as described above. Alternatively, in other embodiments, the processor 11 may be configured to perform a method of triple-relationship change detection by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for detecting a change in a triplet relationship, comprising:
acquiring attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute;
if the attribute data change, acquiring an influence factor associated with the attribute data; the influence factors are used for characterizing influence of the attributes on the triad relation;
determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
2. The method of claim 1, wherein determining a change in the triplet relationship based on the impact factor comprises:
determining a change probability according to the influence factor;
if the change probability meets a preset threshold condition, determining that the triple relation changes;
and if the change probability does not meet the preset threshold condition, determining that the triple relation is not changed.
3. The method of claim 2, wherein determining a probability of change based on the impact factor comprises:
and adding the influence factors to obtain the change probability.
4. The method of claim 1, wherein obtaining attribute data for triples comprises:
and reading a data log of the knowledge graph, and acquiring attribute data of the triples.
5. The method of claim 1, wherein after obtaining attribute data for a triple, the method further comprises:
judging whether the attribute data is consistent with the pre-stored initial attribute;
and if the attribute data are not consistent, the attribute data are changed.
6. The method of claim 1, wherein prior to obtaining attribute data for triples, the method further comprises:
acquiring an initial relation of the triples;
and searching from the pre-stored relationship, the attribute and the matching relationship of the influence factors according to the triple initial relationship, and determining the influence factors associated with the attributes.
7. The method of claim 1, wherein the sum of the impact factors for the attributes for each entity is equal to 1.
8. A triplet relationship change detection device, comprising:
the attribute data acquisition module is used for acquiring the attribute data of the triples; wherein the triplet consists of two entities and a relationship; the entity comprises at least one attribute;
the influence factor acquisition module is used for acquiring influence factors associated with the attribute data if the attribute data changes; the influence factors are used for characterizing influence of the attributes on the triad relation;
the change condition determining module is used for determining the change condition of the triple relation according to the influence factors; wherein the change condition comprises changed condition and unchanged condition.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to cause the at least one processor to perform a method of detecting a change in triplet relationship as claimed in any one of claims 1 to 7.
10. A computer readable medium having stored thereon computer instructions for causing a processor to execute a method for detecting a change in a triplet relationship as claimed in any one of claims 1 to 7.
CN202210251063.9A 2022-03-15 2022-03-15 Method and device for detecting triple relation change, electronic equipment and medium Pending CN114595339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210251063.9A CN114595339A (en) 2022-03-15 2022-03-15 Method and device for detecting triple relation change, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210251063.9A CN114595339A (en) 2022-03-15 2022-03-15 Method and device for detecting triple relation change, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN114595339A true CN114595339A (en) 2022-06-07

Family

ID=81809086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210251063.9A Pending CN114595339A (en) 2022-03-15 2022-03-15 Method and device for detecting triple relation change, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114595339A (en)

Similar Documents

Publication Publication Date Title
CN115422028A (en) Credibility evaluation method and device for label portrait system, electronic equipment and medium
CN115598505A (en) Chip detection method, device, equipment and storage medium
CN115547508B (en) Data correction method, data correction device, electronic equipment and storage medium
CN115048352B (en) Log field extraction method, device, equipment and storage medium
CN116431505A (en) Regression testing method and device, electronic equipment, storage medium and product
CN114999665A (en) Data processing method and device, electronic equipment and storage medium
CN115249043A (en) Data analysis method and device, electronic equipment and storage medium
CN113032251B (en) Method, device and storage medium for determining service quality of application program
CN114595339A (en) Method and device for detecting triple relation change, electronic equipment and medium
CN114741291A (en) Method, device, equipment and medium for automatically submitting vulnerability information
CN115511014B (en) Information matching method, device, equipment and storage medium
CN116166501B (en) Log verification method and device, electronic equipment and storage medium
CN115455019A (en) Search intention identification method, device and equipment based on user behavior analysis
CN117611324A (en) Credit rating method, apparatus, electronic device and storage medium
CN115827743A (en) Auditing method, device, equipment and storage medium
CN115421665A (en) Data storage method, device, equipment and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN116304796A (en) Data classification method, device, equipment and medium
CN114866437A (en) Node detection method, device, equipment and medium
CN117271853A (en) Complex data processing method and device, electronic equipment and storage medium
CN117331924A (en) Data model matching degree checking method, device, equipment and storage medium
CN114936802A (en) Index system construction method and device, storage medium and electronic equipment
CN115858367A (en) Test case screening method, device, equipment and medium
CN116383498A (en) Data matching method and device, electronic equipment and storage medium
CN115658510A (en) Test data generation method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220607

RJ01 Rejection of invention patent application after publication