A method for computing explanations for inconsistencies in ontology-based datasets

By constructing an abstract dataset and applying semantic reasoning, the method efficiently identifies contradictions in large knowledge graphs, reducing computational complexity and enhancing data quality.

JP7562334B2Active Publication Date: 2024-10-07ROBERT BOSCH GMBH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020140054
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-08-23
Filing Date
2020-08-21
Publication Date
2024-10-07
Estimated Expiration
2040-08-21

AI Technical Summary

Technical Problem

Computing contradictory explanations in large knowledge graphs is computationally intensive due to the complexity of logical reasoning required for millions or billions of facts, making it difficult to efficiently identify inconsistencies.

Method used

A method involving the construction of an abstract second dataset from the first dataset, using semantic reasoning to calculate conflict explanations within this abstraction, and then reconstructing explanations for the original dataset, utilizing ontology axioms to reduce computational load.

Benefits of technology

Significantly reduces computational complexity by compressing the dataset while maintaining accuracy, enabling efficient identification of contradictions and improving data quality through anomaly detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562334000010
    Figure 0007562334000010
  • Figure 0007562334000011
    Figure 0007562334000011
  • Figure 0007562334000012
    Figure 0007562334000012
Patent Text Reader

Abstract

To provide a method for computing inconsistency explanation in a large-scale knowledge graph called as a first data set.SOLUTION: A method includes: a step 120 of constructing a second data set 30 (KG') which is abstract description of a first data set 10 (KG); a step 130 of calculating inconsistency explanation 60 (E') in the second data set 30 (KG') with respect to axiom of ontology 40 (O); on the basis of the calculated inconsistency explanation 60 (E') in the second data set 30 (KG'), a step 140 of calculating inconsistency explanation 80 (E) with respect to the first data set 10 (KG) with respect to the ontology 40 (O).SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] background Knowledge graphs are primarily used for graph-based representation of knowledge by describing (real-world) entities and the relationships between these entities.

[0002] The present invention relates to a computer-implemented method for computing inconsistency explanations in such knowledge graphs. [Background technology]

[0003] Knowledge graphs are often augmented by an ontology, which consists of schema axioms that define the classes and relationships that describe the data in the knowledge graph.

[0004] Knowledge graphs, for example, are often constructed automatically from text and are therefore often contradictory with respect to the accompanying ontology. To compute the contradiction explanations, logical inference is required, which is computationally intensive and therefore problematic for large real-world knowledge graphs that may contain millions and billions of facts. Summary of the Invention [Problem to be solved by the invention]

[0005] Disclosure of the Invention It is therefore an object of the present invention to provide a method for computing contradiction explanations in a large-scale knowledge graph, referred to herein as the first dataset. [Means for solving the problem]

[0006] According to one embodiment of the invention, there is provided a computer-implemented method for computing a conflict explanation in a first dataset augmented with an ontology, the first dataset comprising data elements referred to as individuals and facts about the individuals, the facts being expressed in terms of class and / or property assertions according to an ontology language, where a class assertion relates an individual to a class and a property assertion relates an individual to a second individual, and the ontology comprising a formal and explicit description of the classes and / or properties and further comprising axioms about the classes and / or properties, the method comprising the steps of constructing a second dataset which is an abstract description of the first dataset, computing a conflict explanation in the second dataset with respect to the axioms of the ontology, and computing a conflict explanation for the first dataset with respect to the ontology based on the computed conflict explanation in the second dataset.

[0007] The first dataset comprises a number of facts about an entity, hereinafter also referred to as unary and / or binary facts about said entity, where unary facts assign individuals to classes and binary facts relate one individual to other individuals.

[0008] An ontology contains representations, formal names and definitions of the individuals, classes and properties that instantiate the respective universe of discourse. An ontology includes formal and explicit descriptions of the classes and / or properties, and axioms about said classes and / or properties.

[0009] A contradiction means that there is a conflict between one or more facts in the first dataset and one or more axioms in the ontology.

[0010] Preferably, the abstraction of the first dataset KG, i.e. the second dataset, is smaller than the original first dataset.

[0011] Preferably, the step of computing contradiction explanations in said second dataset with respect to said axioms of said ontology is performed by inferring logical consequences from said facts and axioms by a semantic reasoner, also known as an inference engine, a rules engine or simply a reasoner.

[0012] The step of calculating a contradiction explanation for the first dataset based on the calculated contradiction explanation in the second dataset comprises reconstructing a contradiction explanation for the first dataset from the calculated contradiction explanation in the second dataset.

[0013] The method efficiently computes a conflict explanation using an abstraction of the first data set to determine if a conflict exists. Additionally, the method uses the abstraction to compute a conflict explanation for the first data set.

[0014] According to one embodiment, the step of constructing the second dataset further comprises constructing abstract class representations and / or abstract property representations for the individuals of the first dataset, based on representation variables of the individuals, the abstract class representations comprising abstract descriptions of the class representations and / or the abstract property representations comprising abstract descriptions of the property representations, and individuals present in similar class representations and / or similar property representations are represented by equivalent representation variables.

[0015] Preferably, the method further comprises identifying at least one local type for at least one of the individuals and / or an abstraction for the at least one local type, the local type consisting of a set of classes present in a class assertion of said individual and / or a set of properties present in a property assertion of said individual, the abstraction for the at least one local type being based on representation variables. Preferably, the abstraction for the at least one local type is a star-shaped abstraction.

[0016] Preferably, the method further comprises identifying at least one dominant local type for at least one of the individuals, e.g. a maximal local type and / or at least one abstraction for the dominant local type, e.g. an abstraction for the maximal local type, where a dominant local type dominates a local type of an individual if a respective set of classes and / or a respective set of properties in the dominant local type includes a corresponding set of classes and / or a corresponding set of properties in a local type of the individual, and the abstraction for the dominant local type is based on representative variables. A maximal local type of an individual in the first data set is maximal if there are no other local types of other individuals in the first data set such that each set in the local type is a proper superset of the corresponding set in the maximal local type.

[0017] Preferably, the step of constructing the second dataset further comprises constructing at least one abstraction for a dominant local type of at least one of the individuals, such as an abstraction for a maximal local type, wherein the abstraction for the dominant local type and / or the abstraction for the maximal local type is based on representative variables of said individuals, and individuals present in similar class representations and / or similar property representations are represented by equivalent representative variables.

[0018] Preferably, the step of calculating a conflict explanation in the second dataset further comprises calculating a conflict explanation in the abstraction with respect to a dominant local type, e.g. a conflict explanation in the abstraction with respect to a largest local type and / or a conflict explanation in the abstraction with respect to a local type.

[0019] Preferably, the method further comprises the step of dividing the data elements of the first dataset into a number of modules, each module being associated with one individual and containing the entire class and / or property representations of the individual, and the step of constructing the second dataset, which is an abstract description of the first dataset, is based on the modules.

[0020] Preferably, the method further comprises the step of outputting said discrepancy explanation for said first data set and / or said discrepancy explanation for said second data set in an understandable format.

[0021] Preferably, the conflict explanation for said first dataset is obtained from a corresponding conflict explanation for said second dataset, the corresponding explanation for the first dataset being obtained by identifying from the explanation for the second dataset individuals in the first dataset that have equivalent local types to representative variables in the explanation for the second dataset.

[0022] Preferably, the first dataset and / or the ontology is defined based on a Web Ontology Language, i.e. the W3C Web Ontology Language OWL, such as OWL2.

[0023] Preferably, the ontology that enriches the first dataset includes at least one of the following axioms of OWL2 axioms: a subclass axiom SubClassOf(C,D) specifying that a class C is a subclass of a class D, a subproperty axiom SubObjectPropertyOf(P,S) specifying that P is a subproperty of S, or a transitive property axiom TransitiveObjectProperty(P), where C, i∈{1,2}. (i) and P (i) has the following grammar definition:

number

[0024] The invention also relates to a computer program comprising computer program code, which, when executed on a computer, enables said computer to carry out a method according to any of the previously described embodiments.

[0025] The invention also relates to an apparatus for computing a conflict explanation in a first dataset enriched by an ontology, the first dataset comprising data elements called individuals and facts about said individuals, said facts being expressed in terms of class and / or property assertions according to an ontology language, the class assertions relating one individual to a class and the property assertions relating one individual to a second individual, the ontology comprising a formal and explicit description of said classes and / or properties and further comprising axioms about said classes and / or properties, the apparatus comprising means for constructing a second dataset which is an abstract description of the first dataset, means for computing a conflict explanation in the second dataset with respect to the axioms of the ontology, and means for computing a conflict explanation for the first dataset with respect to the ontology based on the computed conflict explanation in the second dataset.

[0026] Preferably, the apparatus further comprises means for carrying out a method according to any of the previously described embodiments.

[0027] The invention also relates to the use of a method according to any of the previously described embodiments and / or an apparatus according to any of the previously described embodiments and / or a computer program according to any of the previously described embodiments for data cleaning of a first dataset enriched with an ontology.

[0028] Further developments of the invention are described below with reference to the drawings. [Brief description of the drawings]

[0029] [Figure 1] FIG. 2 is a schematic flow diagram of a method for computing a conflict explanation in a first dataset according to one embodiment. [Diagram 2] FIG. 4 is a schematic flow diagram of a method for computing a conflict explanation in a first dataset according to another embodiment; [Diagram 3] FIG. 4 is a schematic flow diagram of a method for computing a conflict explanation in a first dataset according to another embodiment; [Figure 4] FIG. 2 is a schematic flow diagram of data and processing for computing a conflict explanation in a first data set. [Figure 5a] FIG. 2 shows a schematic representation of an excerpt from a first data set. [Figure 5b] FIG. 2 shows a schematic diagram of an ontology excerpt. [Figure 6] FIG. 2 shows a schematic diagram of an excerpt from a second dataset, statements in the conflict explanation of the second dataset, and statements in various conflict explanations regarding the first dataset with respect to the ontology. [Figure 7] 1 is a table showing the results of comparing different approaches for computing discrepancy explanations in the first dataset. [Figure 8] FIG. 13 is a schematic diagram illustrating the distribution of contradiction explanations. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] 1 to 3 show different embodiments of a method 100 for computing a contradiction explanation E in a first data set, also called a knowledge graph KG, enriched by an ontology O.

[0031] Fig. 5a shows an excerpt of an exemplary first data set KG, which includes a number of data entities, including individuals a, b, d, e, f, g, h, types called classes A, B, C, D, and relationships called properties R, S, T on the individuals a, b, d, e, f, g, h.

[0032] Facts are expressed in terms of class assertions, e.g., C(a), C(d), B(f), B(g), and / or property assertions, e.g., R(b,a), S(d,f), according to the ontology language. Class assertions, also called unary facts, e.g., C(a), relate one individual a to a class C, and property assertions, also called binary facts, e.g., R(b,a), relate an individual b to a second individual a, where A,B,C,D∈N. C Furthermore, N C is a set of class names, R, S, T∈N P Furthermore, N P is a set of property names, a, b, d, e, f, g, h ∈ N I Furthermore, N I is a set of named individuals, or simply a set of individuals.

[0033] An entity refers to an individual, a class, or a property. An individual refers to something concrete, such as an instance or object, e.g., McAfee, Nokia, Finland, Asia. A class refers to a collection of individuals with similar properties, e.g., Company, Popular Name, City, Country. A property refers to a relationship between two individuals, e.g., hasCustomer, isCityOf, locatedIn.

[0034] Preferably, the set N C ,N P ,N I are disjoint countable sets. Thus the first dataset KG is a finite set of unary facts of the form C(a) and binary facts of the form R(a,c).

[0035] An ontology O contains representations, formal names and definitions of the individuals, classes and properties that instantiate the respective universe of discourse. The ontology O includes formal and explicit descriptions of the classes and / or properties and axioms about said classes and / or properties.

[0036] According to one embodiment, the first dataset KG and / or the ontology O are defined based on a web ontology language, i.e. the W3C Web Ontology Language OWL, such as OWL2. The W3C Web Ontology Language OWL is designed to represent rich and complex knowledge about things, groups of things and relationships between things. As OWL is a computational logic based language, computer programs can exploit knowledge expressed in OWL. For further specifications on the Web Ontology Language OWL2, see https: / / www.w3.org / TR / owl2-overview / .

[0037] Preferably, the semantics of the first dataset KG and / or the ontology O are defined by interpretation using the OWL2 Direct Model Theoretic Semantics, where for the Direct Model Semantics see https: / / www.w3.org / TR / owl2-direct-semantics / .

[0038] According to one embodiment, the ontology associated with the first data set KG and the second data set KG′ includes at least one of the following OWL2 axioms: a subclass axiom SubClassOf(C,D) specifying that a class C is a subclass of a class D, a subproperty axiom SubObjectPropertyOf(P,S) specifying that P is a subproperty of S, or a transitive property axiom TransitiveObjectProperty(P), where C, i∈{1,2} (i) and P (i) is the following grammar definition:

number

[0039] Advantageously, the ontology language used, OWL2, allows expressing at least one of the following axioms: DisjointClasses, InverseObjectProperties, ObjectPropertyDomain, ObjectPropertyRange. Furthermore, the language used allows expressing other kinds of important OWL2 axioms, such as DisjointClasses, InverseObjectProperties, ObjectPropertyDomain, ObjectPropertyRange. For example, the axiom ObjectPropertyRange(hasCustomer, Company) in Figure 5b can be equivalently expressed by SubClassOf(ObjectSomeValuesFrom(ObjectInverseOf(hasCustomer), owl:Thing), Company).

[0040] Figure 5b shows an excerpt of the considered ontology O defined based on OWL2, which includes three axioms ax1, ax2, and ax3 as an example. According to Figure 5b, axiom ax1 defines that the range of the property hasCustomer is the class Company. Axiom ax2 defines that the domain of isCityOf is the class City, and axiom ax3 defines that the classes City, Company, and Country are disjoint.

[0041] A first dataset KG is inconsistent with respect to an ontology O if no model of KG∪O exists. Preferably, the ontology O itself is consistent. A first dataset KG is inconsistent with respect to an ontology O if at least one fact of KG contradicts at least one axiom of O.

[0042] Reference is now made to FIG. 5a, and in particular to a portion of a first dataset KG that asserts "McAfee hasCustomer Toyota" and "Toyota isCityOf Japan". An axiom ax1 of O defines that the range of the property hasCustomer is Company. Therefore, Toyota is considered to be a Company. Ax2 defines that the domain of isCityOf is City. Therefore, Toyota is considered to be a City. According to ax3, City and Company are disjoint classes. Thus, the particular portion of the first dataset KG that asserts "McAfee hasCustomer Toyota" and "Toyota isCityOf Japan" is inconsistent with respect to the ontology O, in particular with respect to the axioms ax1, ax2, and ax3.

[0043] E KG ⊆KG and E O E=E ⊆ O KG ∪E O An explanation E of an inconsistency in KG∪O, denoted by, is the smallest subset of KG∪O that contains an inconsistent subset of KG∪O.

[0044] The particular portion of the first dataset KG that asserts “McAfee hasCustomer Toyota” and “Toyota isCityOf Japan”, combined with the three ontology axioms ax1, ax2, ax3 in FIG. 5b, is a contradiction explanation as shown in FIG.

[0045] The computation of such a contradiction explanation E is computationally intensive for large real-world knowledge graphs that may contain millions and billions of facts. A method 100 for computing a contradiction explanation E in a large first dataset KG is described with reference to Figure 1, which is a schematic flow diagram of a method 100 for computing a contradiction explanation E in a first dataset KG with respect to an ontology O.

[0046] In step 120 of the method 100, a second data set KG' is constructed which is an abstract description, also called an abstraction, of said first data set KG.

[0047] The second dataset KG′ is a condensed representation of the first dataset KG, such that the following requirements are met with respect to the ontology O:

[0048] Requirement R1:KG′ preserves the consistency of KG, i.e. a first dataset KG is consistent with respect to an ontology O if and only if the abstractions of the first dataset KG are consistent with respect to the ontology O.

[0049] Requirement R2: KG' holds the explanation of KG, i.e. the contradiction explanations with respect to the abstract, i.e. the second dataset KG' can be used to obtain all the contradiction explanations with respect to the first dataset KG.

[0050] Instead of checking consistency and computing explanations for the ontology O directly on the first dataset KG, these operations are performed on an abstraction of the first dataset KG, i.e. on the second dataset KG'. Requirements R1, R2 ensure the correctness of the presented method.

[0051] Preferably, the abstraction of the first data set KG, ie the second data set KG', is smaller than the original first data set KG.

[0052] Preferably, the step 120 of constructing the second data set KG' further comprises constructing abstract class assertions, e.g. A(u), B(w), C(v), D(x) and / or abstract property assertions R(u,v), S(v,w), T(x,w) for the individuals a, b, d, e, f, g, h of the first data set KG, based on the representative variables u, v, w, x of the individuals a, b, d, e, f, g, h, the abstract class assertions A(u), B(w), C(v), D(x) are expressed as class assertions C(a, ), C(d), B(f), B(g), and / or said abstract property assertions R(u,v), S(v,w), T(x,w) include abstract descriptions of said property assertions R(a,b), S(d,f), T(f,h), and the individuals a, b, d, e, f, g, h present in similar class assertions C(a), C(d), B(f), B(g) and / or similar property assertions R(a,b), S(d,f), T(f,h) are represented by equivalent representation variables u, v, w, x, where A, B, C, D ∈ N C Furthermore, N C is a set of class names, R, S, T∈N P Furthermore, N P is a set of property names, u,v,w,x∈N V Furthermore, N V is a countable set of variables. V is N C ,N P ,N I is prime.

[0053] The second dataset KG' is an abstract description of the first dataset KG. The second dataset KG' is thus a finite set of concept and / or property assertions of representative variables, e.g. unary facts of the form A(u), B(w), C(v), D(x) and binary facts of the form R(u,v), S(v,w), T(x,w).

[0054] In the second data set KG', which is an abstraction of the first data set KG of FIG. 5a, for example, the individual d Toyota and the individual a Nokia are represented by a representation variable v, which in this case is a variable for all individuals of class C Popular Name and has an incoming relation hasCustomer and an outgoing relation isCityOf.

[0055] In step 130, a contradiction explanation E' in the second data set KG' with respect to the ontology O is calculated.

[0056] Preferably, the step 130 of computing contradictions in said second dataset with respect to said axioms of said ontology is performed by a semantic reasoner, also known as an inference engine, a rule engine or simply a reasoner, by inferring logical consequences from the data elements of the second dataset KG′ and the axioms of the ontology O, e.g. ax1, ax2, ax3.

[0057] In step 140, a conflict explanation E for said first data set KG is calculated based on said calculated conflict explanation E' in said second data set KG'.

[0058] According to one embodiment, the method comprises an optional step 110 of dividing the data elements of said first data set KG into a number of modules M, each module M being associated with one individual a, b, d, e, f, g, h and comprising a totality α of class and / or property assertions of said individuals a, b, d, e, f, g, h, and the step of constructing said second data set KG', which is an abstract description of said first data set KG, is based on said modules M.

[0059] A module M of an individual a with respect to KG is a set α of facts that a participates in, i.e., M(a,KG)={α|α∈KG and a is in α}. Referring to Figure 5a, the module of Nokia is M(Nokia,KG)={PopularName(Nokia),hasCustomer(McAfee,Nokia),isCityOf(Nokia,Finland)}={C(a),R(b,a),S(a,g)}.

[0060] FIG. 2 shows a schematic flow diagram of a method 100 according to a further embodiment.

[0061] In step 112, at least one local type τ is identified for at least one of the individuals a, b, d, e, f, g, h in the first data set KG, where the local type τ consists of a set of classes present in the class assertions C(a), C(d), B(f), B(g) of the individuals a, b, d, e, f, g, h and / or a set of properties present in the property assertions R(a,b), S(d,f), T(f,h) of the individuals a, b, d, e, f, g, h.

[0062] τ(a,KG), the local type τ of an individual a in the first dataset KG, or simply τ(a) if KG is clear from the context, such that τ(a)=<τ i (a), τ c (a), τ o (a)>, where τ i (a) = {R|R(c,a)∈KG}, and τ c (a) = {A|A(a)∈KG}, and τ o (a) = {S|S(a,b)∈KG}.

[0063] In step 114, at least one dominant local type τ′, e.g., the largest local type τ , for at least one of the individuals a, b, d, e, f, g, and h is determined. maxA dominant local type τ' dominates the local types τ of the individuals a, b, d, e, f, g, h if the respective sets of classes and / or respective sets of properties in the dominant local type τ' contain the corresponding sets of classes and / or corresponding sets of properties in the local types τ of the individuals a, b, d, e, f, g, h. max Since there are no other local types τ of other individuals in the first data set KG, each set in the local type τ is the maximum local type τ max It is maximal if it is a proper superset of the corresponding set in

[0064] In step 126, at least one abstraction abs(τ′) for at least one dominant local type of at least one of the individuals a, b, d, e, f, g, and h is calculated, for example, an abstraction abs(τ′) for the largest local type. max ) is constructed and the abstraction abs(τ') for the dominant local type τ' and / or the maximum local type τ max Abstraction abs(τ max ) is based on the representation variables u, v, w, x of the individuals a, b, d, e, f, g, h mentioned above, and the individuals a, b, d, e, f, g, h present in similar class assertions C(a), C(d), B(f), B(g) and / or similar property assertions R(a, b), S(d, f), T(f, h) are represented by equivalent representation variables u, v, w, x.

[0065] Preferably, abstract abs(τ') and / or abstract abs(τ max ) includes star shapes.

[0066] An abstraction with respect to a local type τ is

number

number

[0067] In step 132, with respect to the enriched ontology O, the abstract abs(τ) and / or abstract abs(τ') and / or abstract abs(τ max ) is calculated.

[0068] Preferably, abstract abs(τ) and / or abstract abs(τ') and / or abstract abs(τ max The step 132 of computing contradictions in (a,b,c,c) is performed by a semantic reasoner, also known as an inference engine, a rule engine, or simply a reasoner, by inferring logical consequences from the above abstractions and the axioms of the ontology O, e.g., ax1, ax2, ax3.

[0069] Preferably, the second data set KG' consists of small, disjoint partitions, one for each representative variable. Considered as a graph, each partition has a star-like structure with a representative variable at the center and in-edges and out-edges labeled with distinct properties. In addition to the size reduction mentioned above, such a disjoint, simple structure reduces the complexity of the task of the inference component, since it limits the possibilities for inference propagation.

[0070] According to one embodiment, an off-the-shelf reasoning mechanism, such as Pellet, is used to compute the conflict explanation.

[0071] In step 140, a conflict explanation E for said first data set KG is calculated based on said calculated conflict explanation E' in said second data set KG'.

[0072] According to a further embodiment, the method 100 according to the embodiment shown in Fig. 2 comprises an optional step 110 (not shown) of dividing said data elements of said first data set KG into a number of modules M, each associated with one individual, e.g. a, b, d, e, f, g, h, and comprising a totality α of class and / or property assertions of said individuals a, b, d, e, f, g, h, and the step of constructing said second data set KG', being an abstract description of said first data set KG, is based on said modules M. Furthermore, a step 112 of identifying at least one local type τ for each individual, e.g. a, b, d, e, f, g, h, may be applied to the modules M, where the local type τ consists of a set of classes and a set of properties present in the class and / or property assertions asserted by said individuals a, b, d, e, f, g, h.

[0073] FIG. 3 shows a schematic flow diagram of a method 100 according to a further embodiment.

[0074] The step 120 of constructing a second data set KG', which is an abstract description of said first data set KG, corresponds to the step 120 already described with reference to FIG.

[0075] In step 122, at least one abstraction abs(τ) is identified for at least one local type τ, the local type τ consisting of a set of classes present in the class assertions C(a), C(d), B(f), B(g) of the individuals a, b, d, e, f, g, h, and / or a set of properties present in the property assertions R(a, b), S(d, f), T(f, h) of the individuals a, b, d, e, f, g, h, and the abstraction abs(τ) for the at least one local type τ is based on the representative variables u, v, w, x.

[0076] In step 124, at least one abstraction abs(τ') for the dominant local type τ', e.g., the largest local type τ max Abstraction abs(τmax ) is identified, and a dominant local type τ' dominates a local type τ of the individuals a, b, d, e, f, g, h if the respective set of classes and / or the respective set of properties in the dominant local type τ' contains the corresponding set of classes and / or the corresponding set of properties in the local type τ of the individuals a, b, d, e, f, g, h, and the abstraction abs(τ') for the dominant local type τ' is based on the representative variables u, v, w, x. max Since there are no other local types τ of other individuals in the first data set KG, each set in the local type τ is the maximum local type τ max is a proper superset of the corresponding set in max Abstraction abs(τ max ) is based on the representative variables u, v, w, and x.

[0077] In step 132, the contradiction explanation E' in the abstract dominant local type abs(τ') and / or the abstract local type abs(τ) is calculated.

[0078] Preferably, the step 132 of calculating contradictions in the abstract dominant local type abs(τ') and / or the abstract local type abs(τ) with respect to the axioms of the ontology O is performed by a semantic reasoning mechanism, also known as an inference engine, a rule engine or simply a reasoning mechanism, by inferring logical consequences from the data elements of the second data set KG', in particular the abstract abs(τ') with respect to the dominant local type and / or the abstract abs(τ) with respect to the local type, and the axioms of the ontology O, e.g. ax1, ax2, ax3.

[0079] According to one embodiment, an off-the-shelf reasoning mechanism, such as Pellet, is used to compute the conflict explanation.

[0080] In step 140, a conflict explanation E for said first data set KG is calculated based on said calculated conflict explanation E' in said second data set KG'.

[0081] According to a further embodiment, the method 100 according to the embodiment shown in figure 3 comprises an optional step 110 (not shown) of dividing said data elements of said first data set KG into a number of modules M, each module M being associated to one individual a, b, d, e, f, g, h and comprising a totality α of class and / or property assertions of said individuals a, b, d, e, f, g, h, and the step of constructing said second data set KG' being an abstract description of said first data set KG is based on said modules M. Furthermore, a step 120 of constructing a second data set KG' being an abstract description of said first data set KG may be applied to the modules M, as already described with reference to figure 1.

[0082] FIG. 4 shows a schematic flow diagram of a method 100 for computing a contradiction explanation in a first dataset KG, which is implemented by an apparatus 200 having components for computing a contradiction explanation in a first dataset KG according to one embodiment, and a data flow and a processing flow, where dashed lines refer to data flows and solid lines refer to processing flows.

[0083] The component 10 comprises a storage device for storing data elements of a first data set KG.

[0084] The component 20 comprises a storage device and a processing device, the processing device being used for processing a step 110 of dividing the data elements of a first data set KG into a number of modules M, each module M being associated to one individual a, b, d, e, f, g, h and comprising a totality α of class and / or property assertions of said individuals a, b, d, e, f, g, h, and a step of constructing said second data set KG' being an abstract description of said first data set KG based on the modules M. Furthermore, the storage device is used for storing the modules M.

[0085] The component 30 comprises a storage device and a processing device, the processing device being used for processing a step 120 of constructing a second data set KG' which is an abstract description of the first data set KG or of the module M. Preferably, the step 120 of constructing the second data set KG' further comprises constructing abstract class assertions, such as A(u), B(w), C(v), D(x), and / or abstract property assertions R(u,v), S(v,w), T(x,w), for said individuals a, b, d, e, f, g, h of said first data set KG, as described above. Preferably, the processing device of the component 30 is suitable for processing steps 122, 124 and 126 as described above. Furthermore, the storage device of the component 30 is used for saving the constructed abstractions in the form of the second data set KG'.

[0086] Component 40 comprises a storage device for storing an ontology O, in particular a formal and explicit description of classes A, B, C, D and / or properties R, S, T, and axioms, e.g. ax1, ax2, ax3, relating to classes A, B, C, D and / or properties R, S, T.

[0087] The component 50 comprises an inference component, e.g. a semantic reasoner, also known as an inference engine, a rule engine or simply a reasoner, which is used to process a step 130 of computing contradictions in the second data set KG' with respect to the ontology O, in particular with respect to the axioms ax1, ax2, ax3 of said ontology O, by inferring logical consequences from the second data set KG' and the axioms of said ontology O.

[0088] The component 60 comprises an output device for outputting a conflict explanation E' relating to the second data set KG'. An example of such a conflict explanation E' is shown by FIG.

[0089] Preferably, the method further comprises outputting the conflict explanation for the first dataset and / or the conflict explanation for the second dataset in an understandable format. By way of example, Fig. 6 shows one conflict explanation E' for the second dataset and three corresponding conflict explanations E1, E2, E3 for the first dataset, where the ontology axioms ax1, ax2, ax3 are not shown.

[0090] The component 70 comprises a processing component suitable for processing a step 140 of calculating a conflict explanation E for said first data set KG based on said calculated conflict explanation E' in said second data set KG'.

[0091] The component 80 comprises an output device for outputting a conflict explanation E relating to the first data set KG. An example of such a conflict explanation E1, E2, E3 is shown by FIG.

[0092] Preferably, the contradiction explanations E1, E2, E3 for said first data set KG are obtained from the corresponding contradiction explanation E' for said second data set KG'. Possible explanations are given, for example, by the axioms ax1, ax2, ax3 of the ontology O of Fig. 5b.

[0093] Preferably, the components 10, 20, 30, 40, 50, 60, 70, 80 are means of an apparatus 200 for performing the method 100 according to the embodiment.

[0094] The term “compression” in reference to the second dataset, which is a compressed abstract description of the first dataset KG, is used to emphasize the size reduction achieved when the second dataset KG′ is constructed 120.

[0095] An important property of the present invention is that the above requirements R1-R2 are satisfied. The proof of this property is given below.

[0096] preparation A knowledge graph KG is a finite set of unary facts of the form C(a) and binary facts of the form R(a,b), where C∈N C , R∈N P and a, b∈N I For example, PopularName(Nokia) or hasCustomer(McAfee,Nokia), and N C ,N P and N I is a disjoint countable set of class names, e.g., Company, property names, e.g., hasCustomer, and individuals, e.g., Toyota. Let Ind(KG) denote the set of individuals in the first dataset KG.

[0097] An ontology O contains representations, formal names and definitions of the individuals, classes and properties that instantiate the respective universe of discourse. The ontology O includes formal and explicit descriptions of the classes and / or properties and axioms about said classes and / or properties.

[0098] According to the invention, the first dataset KG and / or the ontology O are defined based on a web ontology language, i.e. the W3C Web Ontology Language OWL, such as OWL2. The W3C Web Ontology Language OWL is a language designed to express rich and complex knowledge about things, groups of things and relationships between things. As OWL is a computational logic based language, computer programs can exploit knowledge expressed in OWL. For further specifications on the Web Ontology Language OWL2, please see https: / / www.w3.org / TR / owl2-overview / .

[0099] According to the invention, the semantics of the first dataset KG and / or the ontology O are defined by interpretation using the OWL2 Direct Model Theoretic Semantics, where for the Direct Model Semantics see https: / / www.w3.org / TR / owl2-direct-semantics / .

[0100] From class and property names, complex classes C and properties P can be defined (recursively) according to the OWL2 specification. In this work, the following kinds of classes and properties are considered:

number

[0101] Class and property names are used to define axioms that formally describe the domain of interest. In the present invention, three kinds of OWL2 axioms are considered: subclass and subproperty axioms of the form SubClassOf(C,D) and SubObjectPropertyOf(P,S) specify hierarchies, i.e., part-of relationships, and transitive properties are defined by axioms of the form TransitiveObjectProperty(P).

[0102] It should be noted that this ontology language is very expressive. In fact, it is possible to express other kinds of important OWL2 axioms, such as DisjointClasses, InverseObjectProperties, ObjectPropertyDomain, and ObjectPropertyRange. For example, the axiom ObjectPropertyRange(hasCustomer, Company) in Figure 5a can be equivalently expressed by SubClassOf(ObjectSomeValuesFrom(ObjectInverseOf(hasCustomer), owl:Thing), Company).

[0103] The semantics of knowledge graphs and ontologies are defined by interpretation using the OWL2 direct model-theoretic semantics. A first dataset KG is inconsistent with respect to an ontology O, KG∪O, if there is no model of KG∪O. A first dataset KG is inconsistent with respect to an ontology O, KG∪O, if at least one fact of KG contradicts at least one axiom of O.

[0104] E KG ⊆KG and E O E=E ⊆ O KG ∪E O An explanation E for a contradiction in KG∪O, denoted by E, is the smallest subset that encompasses a contradictory subset of KG∪O. A particular part of the first dataset KG that asserts “McAfee hasCustomer Toyota” and “Toyota isCityOf Japan”, combined with the example of three ontology axioms ax1, ax2, ax3 in Fig. 5a, is a contradiction explanation as shown in Fig. 6. In general, a contradiction in KG∪O may have multiple explanations.

[0105] Compute explanations for the contradictions in the first dataset KG For better understanding, a module is introduced to characterize an individual a∈ind(KG). Given a first dataset KG and an individual a∈ind(KG), the module of a with respect to KG is the set α of facts that a participates in, i.e., M(a,KG)={α|α∈KG and a is in α}. Referring to Fig. 5a, the module of Nokia is M(Nokia,KG)={PopularName(Nokia),hasCustomer(McAfee,Nokia),isCityOf(Nokia,Finland)}.

[0106] Fig. 4 shows a general overview of the method according to the invention. In step 110, a module M is constructed for every individual of the first data set KG. In step 120, commonalities across the modules M are found using local types and an abstraction, also called the second data set KG', of the largest local type is calculated. As will be demonstrated below, the union of the abstractions of all modules provides an abstraction for the entire first data set KG, the abstraction of the first data set KG, i.e. the second data set, is preferably much smaller than the original first data set KG. Step 130 takes as input the ontology O and the calculated abstractions and calls a ready-made reasoning mechanism, for example Pellet, to generate a contradiction explanation for the abstract module, which is a pattern for a contradiction explanation for the original first data set KG. Finally, in step 140, an explanation for the original first data set KG is reconstructed from the explanation calculated in step 130. In the following, technical details of the described approach are provided.

[0107] N V is N C ,N P ,N Idenotes a countable set of disjoint representative variables. The second dataset KG' is an abstract description of the first dataset KG, in which there are only variables, classes and properties, no individuals. Thus, the second dataset KG' is a finite set of unary facts, e.g. A(u), B(w), C(v), D(x), and binary facts, e.g. R(u,v), S(v,w), T(x,w).

[0108] A second dataset KG' preserves consistency with respect to a first dataset KG if and only if KG is consistent with respect to ontology O. An abstract second dataset KG' preserves an explanation with respect to KG if, for every contradiction explanation E of KG, there exists a contradiction explanation E' of KG such that E' can be homomorphically mapped to E. An abstract second dataset KG' with respect to KG that preserves contradictions and explanations is called an abstraction of KG. Clearly, every abstraction of a first dataset KG satisfies requirements R1 and R2. For the ontology language considered, the problem of checking for contradictions with respect to a first dataset KG can be reduced to checking for contradictions alone with respect to every module of the first dataset KG considered.

[0109] Lemma 1: Let KG be a first dataset and O be an ontology. Then KG ∪ O is consistent if and only if M(a, KG) ∪ O is consistent for every a ∈ ind(KG).

[0110] Lemma 1 guarantees that all explanations for contradictions in the first dataset KG can be obtained by computing explanations for the modules of the first dataset KG.

[0111] Theorem 2: Let KG be a first dataset and O be an ontology such that KG∪O is inconsistent. Then E is an explanation for a contradiction in KG∪O iff M(a,KG)∪O is inconsistent and there exists a∈ind(KG) such that E is an explanation for a contradiction in M(a,KG)∪O.

[0112] Theorem 2 makes it possible to compute, without abstractions, a contradiction explanation for the first dataset KG based on its modules, which leads to a significant speedup over the baseline. More importantly, Theorem 2 proposes to first compute explanation-preserving abstractions locally based on the modules of individuals, and then combine the resulting abstractions into one global abstraction for the whole KG.

[0113] A local type of an individual a in the first dataset KG is a set of concepts and properties that refer to this individual a. Formally, a local type τ of an individual a in the first dataset KG, τ(a,KG), is a tuple τ(a)=<τ i (a), τ c (a), τ o (a)>, where τ i (a) = {R│R(c,a)∈KG}, τ c (a) = {A│A(a)∈KG}, and τ o (a) = {S | S(a,b)∈KG}. Whenever an individual of a local type is not important, it is called τ.

[0114] Each local type is a collection of classes and properties, and the abstract description of the first dataset KG instantiates these with variables such that the abstract collection of classes and properties preferably has a star shape. Let τ be a local type, then the star-shaped abstraction for τ is defined based on the variables as the following knowledge graph:

number

number

[0115] For simplicity of notation, subscripts and superscripts of individuals in star-based abstractions can be omitted. Referring to the example of Fig. 5a, Toyota and Nokia have equivalent local types τ = <{PopularName}, {hasCustomer}, {isCityOf}>. The star-based abstraction for τ is abs(τ) = {PopularName(v), hasCustomer (u,v), isCityOf (v,w)}. For the method according to the invention, preferably only the local type that is maximal in the set of all local types of all individuals in the first data set is considered.

[0116] Local type τ'=<τ' i , τ' c , τ' o > is τ i ⊆τ' i , τ c ⊆τ' c , τ o ⊆τ' o A local type τ=<τ if and only if i , τ c , τ o >. A local type τ is i ⊂τ'' i , τ c ⊂τ'' c , τ o ⊂τ'' o A local type τ''=<τ'' if and only if i ,τ'' c ,τ'' o > is less than the local type τ max is a set of local types, τ maxis maximal if and only if is not smaller than any other local type in the set. It can be seen that if abs(τ)∪O is inconsistent with respect to local types τ and τ' such that local type τ is smaller than local type τ' with respect to any ontology O, then abs(τ')∪O is also inconsistent, and the inconsistent explanation of abs(τ')∪O contains all the inconsistent explanations of abs(τ)∪O. Thus, smaller types are not important for computing the explanation.

[0117] Finally, a realization is defined that allows the transition from a contradiction explanation on the abstract to a contradiction explanation on the original KG. Formally, let KG be the first dataset and τ be a local type. A realization of τ on an individual a∈ind(G) is a realization of τ(a,real a,τ The smallest subset of inclusions of KG such that )=τ a,τ A realization of τ in KG is the set of all realizations of τ for each individual in KG. Now, referring to Figure 6, there is shown an abstraction for the individuals Toyota and Nokia, a contradiction explanation computed for this abstraction, and three realizations of the local type of v in this explanation.

[0118] Algorithm 1 computes all explanations of a first dataset KG using the abstractions of the first dataset KG in terms of the ontology O, as shown below. The algorithm iterates over local types whose number is bounded by |ind(KG)|, and Algorithm 1 terminates because the number of explanations for abstractions and the number of realizations for types are bounded by the signatures of the first dataset KG and the ontology O. The following theorem shows its correctness.

[0119] Theorem 3. Given a first dataset KG and an ontology O as input for Algorithm 1, ∪ a∈ind(KG) abs(τ(a)) is an abstraction in KG, and the returned set allExpls consists of all contradictory explanations for the first dataset KG with respect to the ontology O.

[0120] Algorithm 1: Compute explanations for contradictions in the first dataset KG with respect to the ontology O.

number

[0121] The method for computing the contradiction explanation has been implemented in a system prototype and evaluated on the basis of the DBpedia knowledge graph, which at the time consists of 22955173 facts and has a current ontology at the time consisting of 4287 axioms, and is further specified at https: / / wiki.dbpedia.org / downloads-2016-10. The abstraction-based method 100 presented in Algorithm 1 was compared with a module-based implementation M, where the knowledge graph is processed as a whole, and with the off-the-shelf reasoner PelletP. All experiments were performed on a server with 48 cores and 500 GB of memory, and the Pellet reasoner was invoked to compute the contradiction explanation. A timeout of 72 hours was set for the entire calculation and a timeout of 5 minutes for the processing of each module.

[0122] Fig. 7 shows a table presenting the total number of modules calculated by each method, the number of modules that were attempted to be processed within 72 hours, and of these, the number of modules that failed to be analyzed within 5 minutes. Furthermore, the number of explanation patterns calculated is presented together with the actual explanations that they generate.

[0123] Within 72 hours, no explanations on DBpedia were obtained when using PelletP without the method 100. Splitting the knowledge graph into smaller modules, implementation M is already beneficial, resulting in over 73K explanations. However, the number of modules computed is still very large, and many of them cannot be processed within the timeout. On the other hand, the number of abstract modules computed by the abstraction-based method 100 is much smaller, and these abstract modules are easier to handle, as can be seen by the small number of timed-out modules. The abstract knowledge graph contains only 2497521 facts, which corresponds to only 10% of the original KG, indicating a significant data compression. As a result, a dramatic increase in the number of explanations computed is observed, indicating the effectiveness of the method 100 compared to the baseline.

[0124] FIG. 8 shows the 100 most frequent dominant explanation patterns on the X-axis and the number of explanations they generate on the Y-axis. Some patterns result in millions of explanations that reveal systematic problems in the information extraction process. For example, in DBpedia, there are about 10K conflict explanations with the explanation pattern: {bandMember(u,v),playInstrument(w,v)}, where the ranges of bandMember and playingInstrument based on the ontology are disjoint classes Person and Instrument, respectively. Although not all modules were processed by any of the methods due to limited computational resources, the results show that the abstraction-based approach according to the present invention significantly outperforms the baseline in terms of the number of conflict explanations calculated, and the obtained explanation patterns effectively summarize the conflicts in the knowledge graph.

[0125] Additionally, the method 100 provides error patterns that can reveal systematic problems in the knowledge graph construction process.

[0126] According to a further embodiment, the invention relates to the use of the method 100 according to the previously described embodiment and / or the computer program according to the previously described embodiment for data cleaning of a first data set KG. As described above with respect to the various embodiments, it is possible to improve the quality of the first data set by efficiently detecting anomalies and / or errors in the data set.

Claims

1. A computer-implemented method (100) for computing a contradiction explanation (E) in a first dataset (KG) enriched by an ontology (O), comprising: The first data set (KG) includes data elements called individuals (a, b, d, e, f, g, h) and facts about the individuals; the facts are expressed in terms of class assertions (C(a), C(d), B(f), B(g)) and / or property assertions (R(a,b), S(d,f), T(f,h)) according to an ontology language; A class assertion relates one individual (a, b, d, e, f, g, h) to a class (A, B, C, D), a property (R, S, T) refers to a relationship between two individuals (a, b, d, e, f, g, h), a property assertion relates one individual (a, b, d, e, f, g, h) to a second individual (a, b, d, e, f, g, h), the ontology (O) comprises a formal and explicit description of the classes (A, B, C, D) and / or the properties (R, S, T) and further comprises axioms (ax1, ax2, ax3) relating to the classes (A, B, C, D) and / or the properties (R, S, T); The method comprises: - constructing (120) a second data set (KG') which is an abstract description of said first data set (KG); Computing (130) a contradiction explanation (E') in said second data set (KG') with respect to said axioms of said ontology (O); - calculating (140) a conflict explanation (E) for the first data set (KG) with respect to the ontology (O) based on the calculated conflict explanation (E') in the second data set (KG'); Including, The method (100) comprises: The method further comprises a step (110) of dividing the data elements of the first data set (KG) into a plurality of modules (M), Each module (M) is associated with one individual (a, b, d, e, f, g, h) and contains the entire class assertions (C(a), C(d), B(f), B(g)) and / or property assertions (R(a, b), S(d, f), T(f, h)) of the individual (a, b, d, e, f, g, h); A method (100), wherein said step (120) of constructing said second data set (KG'), which is an abstract description of said first data set (KG), is based on said module (M).

2. The step of constructing (120) the second data set (KG′) comprises: constructing abstract class assertions (A(u), B(w), C(v), D(x)) and / or abstract property assertions (R(u,v), S(v,w), T(x,w)) for said individuals (a, b, d, e, f, g, h) of said first data set (KG). Further comprising: Based on the representative variables (u, v, w, x) of the individuals (a, b, d, e, f, g, h), said abstract class assertion (A(u), B(w), C(v), D(x)) comprising an abstract description of said class assertions (C(a), C(d), B(f), B(g)); and / or the abstract property assertion (R(u,v),S(v,w),T(x,w)) comprises an abstract description of the property assertions (R(a,b),S(d,f),T(f,h)); Individuals (a, b, d, e, f, g, h) in similar class assertions (C(a), C(d), B(f), B(g)) and / or similar property assertions (R(a, b), S(d, f), T(f, h)) are represented by equivalent representation variables (u, v, w, x), 2. The method of claim 1 (100).

3. The method (100) comprises: Identifying (112, 122) at least one local type (τ) for at least one of said individuals (a, b, d, e, f, g, h) and an abstraction (abs(τ)) for said at least one local type. Further comprising: The local type (τ) is A set of classes present in the class assertion (C(a), C(d), B(f), B(g)) of the individual (a, b, d, e, f, g, h), and / or The set of properties present in the property assertions (R(a,b), S(d,f), T(f,h)) of the individuals (a,b,d,e,f,g,h) It consists of The abstraction (abs(τ)) for the at least one local type (τ) is based on representative variables (u, v, w, x); 3. The method (100) of claim 1 or 2.

4. The method (100) comprises: After the steps of identifying (112, 122) said at least one local type (τ) and said abstraction (abs(τ)) for said at least one local type (τ), At least one dominant local type (τ′), e.g., the largest local type (τ max ), And, At least one abstraction (abs(τ')) of the dominant local type (τ'), e.g., the largest local type (τ max ) with respect to abstraction (abs(τ max )) and further comprising the step of identifying (114, 124) A dominant local type (τ') dominates a local type (τ) of an individual (a, b, d, e, f, g, h) if each set of classes and / or each set of properties in the dominant local type (τ') contains a corresponding set of classes and / or a corresponding set of properties in the local type (τ) of the individual (a, b, d, e, f, g, h); The abstraction (abs(τ')) of the dominant local type (τ') is based on the representative variables (u, v, w, x).

4. The method (100) of claim 3.

5. The step of constructing (120) the second data set (KG′) comprises: After the steps of identifying (114, 124) the at least one dominant local type (τ') and the abstraction (abs(τ')) with respect to the dominant local type (τ'), At least one abstraction (abs(τ′)) for a dominant local type of at least one of the individuals (a, b, d, e, f, g, h), e.g., an abstraction (abs(τ max ) (126) Further comprising: The abstract (abs(τ')) and / or the maximum local type (τ') with respect to the dominant local type (τ') max ) with respect to the abstraction (abs(τ max ) is based on the representative variables (u, v, w, x) of the individuals (a, b, d, e, f, g, h), Individuals (a, b, d, e, f, g, h) in similar class assertions (C(a), C(d), B(f), B(g)) and / or similar property assertions (R(a, b), S(d, f), T(f, h)) are represented by equivalent representation variables (u, v, w, x), 5. The method (100) of claim 4.

6. The step (130) of computing the contradiction explanation (E′) in the second data set (KG′) comprises: A contradiction explanation (E') in the abstract (abs(τ')) with respect to the dominant local type (τ'), e.g., the largest local type (τ max ) with respect to the abstraction (abs(τ max ) and / or computing (132) a contradiction explanation (E') in said abstract (abs(τ)) with respect to a local type (τ). Further comprising:

6. The method (100) of claim 4 or 5.

7. The method (100) comprises: outputting in an understandable format the discrepancy explanation (E) for the first data set (KG) and / or the discrepancy explanation (E′) for the second data set (KG′), The method (100) of any one of claims 1 to 6.

8. a conflict explanation (E) for said first data set (KG) is obtained from a corresponding conflict explanation (E′) for said second data set (KG′); The method (100) of any one of claims 1 to 7.

9. said first dataset (KG) and / or said ontology (O) are defined based on a Web Ontology Language, i.e. the W3C Web Ontology Language OWL, such as OWL2; The method (100) of any one of claims 1 to 8.

10. The ontology (O) that enriches the first dataset (KG) is based on the following axioms of OWL2: A subclass axiom SubClassOf(C,D) which specifies that class C is a subclass of class D; a subproperty axiom SubObjectPropertyOf(P,S) specifying that P is a subproperty of S, or Transitive property axiom TransitiveObjectProperty(P), and C for i ∈ {1, 2} (i) and P (i) has the following grammar definition: [0010] where R is a property name and A is a class name.

10. The method (100) of claim 9.

11. A computer program comprising computer program code, The computer program code, when executed on a computer, enables the computer to carry out the method (100) of any one of claims 1 to 10. Computer program.

12. An apparatus (200) for computing a contradiction explanation (E) in a first dataset (KG) enriched by an ontology (O), comprising: The first data set (KG) includes data elements called individuals (a, b, d, e, f, g, h) and facts about the individuals; the facts are expressed in terms of class assertions (C(a), C(d), B(f), B(g)) and / or property assertions (R(a,b), S(d,f), T(f,h)) according to an ontology language; A class assertion relates one individual (a, b, d, e, f, g, h) to a class (A, B, C, D), a property (R, S, T) refers to a relationship between two individuals (a, b, d, e, f, g, h), a property assertion relates one individual (a, b, d, e, f, g, h) to a second individual (a, b, d, e, f, g, h), the ontology (O) comprises a formal and explicit description of the classes (A, B, C, D) and / or the properties (R, S, T) and further comprises axioms (ax1, ax2, ax3) relating to the classes (A, B, C, D) and / or the properties (R, S, T); The apparatus (200) comprises: means (10) for storing said data elements of said first data set (KG); means (20) for dividing (110) said data elements of said first data set (KG) into a plurality of modules (M); means (30) for constructing (120) a second data set (KG') which is an abstract description of said first data set (KG); means (50) for computing (130) a contradiction explanation (E') in said second data set (KG') with respect to said axioms of said ontology (O); means (70) for computing (140) a conflict explanation (E) for the first data set (KG) with respect to the ontology (O) based on the computed conflict explanation (E') in the second data set (KG'); Including, Each module (M) is associated with one individual (a, b, d, e, f, g, h) and contains the entire class assertions (C(a), C(d), B(f), B(g)) and / or property assertions (R(a, b), S(d, f), T(f, h)) of the individual (a, b, d, e, f, g, h); The apparatus (200), wherein the means (30) for constructing (120) the second data set (KG') is configured to construct (120) the second data set (KG') based on the module (M).

13. The apparatus (200) of claim 12, further comprising means for performing the method of any one of claims 2 to 10.

14. Use of the method (100) according to any one of claims 1 to 10 and / or the computer program according to claim 11 and / or the device (200) according to claim 12 or 13 for data cleaning of a first data set (KG) enriched by an ontology (O).

Citation Information

Patent Citations

  • Device and method for managing data

    JP2001092827A

  • Ontology generation device and method

    JP2010224833A

  • Scalable ontology reasoning

    US20070198448A1

  • Detecting Semantic Errors in Text Using Ontology-Based Extraction Rules

    US20150019207A1

  • Coarse semantic data set enhancement for a reasoning task

    US20150154178A1